/*! For license information please see survey.js.LICENSE.txt */ (()=>{var e={2703:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var l,u=[],a=!1,c=-1;function d(){a&&l&&(a=!1,l.length?u=l.concat(u):c=-1,u.length&&p())}function p(){if(!a){var e=s(d);a=!0;for(var t=u.length;t;){for(l=u,u=[];++c1)for(var n=1;n{e.exports={colors:["cta-bg","cta-text","cta-bg-hover","cta-bg-active","skip-btn-bg","skip-btn-text","skip-btn-border","skip-btn-bg-hover","skip-btn-hover-border","skip-btn-bg-active","focus","title","subtext","background","branding","close-btn-icon","close-btn-icon-hover","close-btn-bg","close-btn-bg-hover","close-btn-bg-active","close-btn-ring","input-border","input-border-focus","input-bg","input-text","placeholder","scrollbar-thumb","scrollbar-thumb-hover","scrollbar-thumb-active","scrollbar-track","choice","choice-label-text","choice-label-selected-bg","choice-label-selected-text","select-dropdown-bg","select-option-text","select-option-bg","select-option-bg-active","select-option-bg-hover","select-dropdown-indicator-bg","select-dropdown-indicator-bg-hover","rating-stars","rating-label","rating-text","link","code-text","code-bg","error-message","external-bg-color","external-bg-image","big-logo","big-branding-link","tooltip-bg","tooltip-text"],boxShadow:["popup-shadow","choice-label-selected-shadow"]}},970:(e,t)=>{"use strict";function n(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.ce={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};var s=/[&<>"']/,l=new RegExp(s.source,"g"),u=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,a=new RegExp(u.source,"g"),c={"&":"&","<":"<",">":">",'"':""","'":"'"},d=function(e){return c[e]};function p(e,t){if(t){if(s.test(e))return e.replace(l,d)}else if(u.test(e))return e.replace(a,d);return e}var f=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function h(e){return e.replace(f,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var m=/(^|[^\[])\^/g;function g(e,t){e="string"==typeof e?e:e.source,t=t||"";var n={replace:function(t,r){return r=(r=r.source||r).replace(m,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var b=/[^\w:]/g,$=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function x(e,t,n){if(e){var r;try{r=decodeURIComponent(h(n)).replace(b,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!$.test(n)&&(n=function(e,t){v[" "+e]||(w.test(e)?v[" "+e]=e+"/":v[" "+e]=C(e,"/",!0));var n=-1===(e=v[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(y,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(D,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}var v={},w=/^[^:]+:\/*[^/]*$/,y=/^([^:]+:)[\s\S]*$/,D=/^([^:]+:\/*[^/]*)[\s\S]*$/,k={exec:function(){}};function E(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var r=!1,i=t;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function F(e,t,n,r){var i=t.href,o=t.title?p(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;var l={type:"link",raw:n,href:i,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,l}return{type:"image",raw:n,href:i,title:o,text:p(s)}}var T=function(){function e(e){this.options=e||t.ce}var n=e.prototype;return n.space=function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}},n.code=function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:C(n,"\n")}}},n.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=r.length?e.slice(r.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:r}}},n.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=C(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}},n.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},n.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;var i=this.lexer.blockTokens(n);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:i,text:n}}},n.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,i,o,s,l,u,a,c,d,p,f,h=t[1].trim(),m=h.length>1,g={type:"list",raw:"",ordered:m,start:m?+h.slice(0,-1):"",loose:!1,items:[]};h=m?"\\d{1,9}\\"+h.slice(-1):"\\"+h,this.options.pedantic&&(h=m?h:"[*+-]");for(var b=new RegExp("^( {0,3}"+h+")((?:[\t ][^\\n]*)?(?:\\n|$))");e&&(f=!1,t=b.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),a=t[2].split("\n",1)[0].replace(/^\t+/,(function(e){return" ".repeat(3*e.length)})),c=e.split("\n",1)[0],this.options.pedantic?(o=2,p=a.trimLeft()):(o=(o=t[2].search(/[^ ]/))>4?1:o,p=a.slice(o),o+=t[1].length),l=!1,!a&&/^ *$/.test(c)&&(n+=c+"\n",e=e.substring(c.length+1),f=!0),!f)for(var $=new RegExp("^ {0,"+Math.min(3,o-1)+"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))"),x=new RegExp("^ {0,"+Math.min(3,o-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"),v=new RegExp("^ {0,"+Math.min(3,o-1)+"}(?:```|~~~)"),w=new RegExp("^ {0,"+Math.min(3,o-1)+"}#");e&&(c=d=e.split("\n",1)[0],this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!v.test(c))&&!w.test(c)&&!$.test(c)&&!x.test(e);){if(c.search(/[^ ]/)>=o||!c.trim())p+="\n"+c.slice(o);else{if(l)break;if(a.search(/[^ ]/)>=4)break;if(v.test(a))break;if(w.test(a))break;if(x.test(a))break;p+="\n"+c}l||c.trim()||(l=!0),n+=d+"\n",e=e.substring(d.length+1),a=c.slice(o)}g.loose||(u?g.loose=!0:/\n *\n *$/.test(n)&&(u=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p))&&(i="[ ] "!==r[0],p=p.replace(/^\[[ xX]\] +/,"")),g.items.push({type:"list_item",raw:n,task:!!r,checked:i,loose:!1,text:p}),g.raw+=n}g.items[g.items.length-1].raw=n.trimRight(),g.items[g.items.length-1].text=p.trimRight(),g.raw=g.raw.trimRight();var y=g.items.length;for(s=0;s0&&D.some((function(e){return/\n.*\n/.test(e.raw)}));g.loose=k}if(g.loose)for(s=0;s$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:i}}},n.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:E(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,i,o,s,l=n.align.length;for(r=0;r/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):p(t[0]):t[0]}},n.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;var r=C(n.slice(0,-1),"\\");if((n.length-r.length)%2==0)return}else{var i=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,i=0;i-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var s=t[2],l="";if(this.options.pedantic){var u=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);u&&(s=u[1],l=u[3])}else l=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s.slice(1):s.slice(1,-1)),F(t,{href:s?s.replace(this.rules.inline._escapes,"$1"):s,title:l?l.replace(this.rules.inline._escapes,"$1"):l},t[0],this.lexer)}},n.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=t[r.toLowerCase()])){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return F(n,r,n[0],this.lexer)}},n.emStrong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&(!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var i=r[1]||r[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){var o,s,l=r[0].length-1,u=l,a=0,c="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+l);null!=(r=c.exec(t));)if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])if(s=o.length,r[3]||r[4])u+=s;else if(!((r[5]||r[6])&&l%3)||(l+s)%3){if(!((u-=s)>0)){s=Math.min(s,s+u+a);var d=e.slice(0,l+r.index+(r[0].length-o.length)+s);if(Math.min(l,s)%2){var p=d.slice(1,-1);return{type:"em",raw:d,text:p,tokens:this.lexer.inlineTokens(p)}}var f=d.slice(2,-2);return{type:"strong",raw:d,text:f,tokens:this.lexer.inlineTokens(f)}}}else a+=s}}},n.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return r&&i&&(n=n.substring(1,n.length-1)),n=p(n,!0),{type:"codespan",raw:t[0],text:n}}},n.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},n.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}},n.autolink=function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return r="@"===i[2]?"mailto:"+(n=p(this.options.mangle?t(i[1]):i[1])):n=p(i[1]),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},n.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])i="mailto:"+(r=p(this.options.mangle?t(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=p(n[0]),i="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},n.inlineText=function(e,t){var n,r=this.rules.inline.text.exec(e);if(r)return n=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):p(r[0]):r[0]:p(this.options.smartypants?t(r[0]):r[0]),{type:"text",raw:r[0],text:n}},e}(),B={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:k,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};B.def=g(B.def).replace("label",B._label).replace("title",B._title).getRegex(),B.bullet=/(?:[*+-]|\d{1,9}[.)])/,B.listItemStart=g(/^( *)(bull) */).replace("bull",B.bullet).getRegex(),B.list=g(B.list).replace(/bull/g,B.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+B.def.source+")").getRegex(),B._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",B._comment=/|$)/,B.html=g(B.html,"i").replace("comment",B._comment).replace("tag",B._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),B.paragraph=g(B._paragraph).replace("hr",B.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",B._tag).getRegex(),B.blockquote=g(B.blockquote).replace("paragraph",B.paragraph).getRegex(),B.normal=r({},B),B.gfm=r({},B.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),B.gfm.table=g(B.gfm.table).replace("hr",B.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",B._tag).getRegex(),B.gfm.paragraph=g(B._paragraph).replace("hr",B.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",B.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",B._tag).getRegex(),B.pedantic=r({},B.normal,{html:g("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",B._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:k,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:g(B.normal._paragraph).replace("hr",B.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",B.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var S={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:k,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:k,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}S._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",S.punctuation=g(S.punctuation).replace(/punctuation/g,S._punctuation).getRegex(),S.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,S.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,S._comment=g(B._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),S.emStrong.lDelim=g(S.emStrong.lDelim).replace(/punct/g,S._punctuation).getRegex(),S.emStrong.rDelimAst=g(S.emStrong.rDelimAst,"g").replace(/punct/g,S._punctuation).getRegex(),S.emStrong.rDelimUnd=g(S.emStrong.rDelimUnd,"g").replace(/punct/g,S._punctuation).getRegex(),S._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,S._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,S._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,S.autolink=g(S.autolink).replace("scheme",S._scheme).replace("email",S._email).getRegex(),S._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,S.tag=g(S.tag).replace("comment",S._comment).replace("attribute",S._attribute).getRegex(),S._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,S._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,S._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,S.link=g(S.link).replace("label",S._label).replace("href",S._href).replace("title",S._title).getRegex(),S.reflink=g(S.reflink).replace("label",S._label).replace("ref",B._label).getRegex(),S.nolink=g(S.nolink).replace("ref",B._label).getRegex(),S.reflinkSearch=g(S.reflinkSearch,"g").replace("reflink",S.reflink).replace("nolink",S.nolink).getRegex(),S.normal=r({},S),S.pedantic=r({},S.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:g(/^!?\[(label)\]\((.*?)\)/).replace("label",S._label).getRegex(),reflink:g(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",S._label).getRegex()}),S.gfm=r({},S.normal,{escape:g(S.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),!(r=t[t.length-1])||"paragraph"!==r.type&&"text"!==r.type?t.push(n):(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),!(r=t[t.length-1])||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else if(i=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,n=e.slice(1),r=void 0;s.options.extensions.startBlock.forEach((function(e){"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}(),this.state.top&&(n=this.tokenizer.paragraph(i)))r=t[t.length-1],o&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),o=i.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);else if(e){var l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}throw new Error(l)}return this.state.top=!0,t},o.inline=function(e,t){return void 0===t&&(t=[]),this.inlineQueue.push({src:e,tokens:t}),t},o.inlineTokens=function(e,t){var n,r,i,o=this;void 0===t&&(t=[]);var s,l,u,a=e;if(this.tokens.links){var c=Object.keys(this.tokens.links);if(c.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(a));)c.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,s.index)+"["+A("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(a));)a=a.slice(0,s.index)+"["+A("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.escapedEmSt.exec(a));)a=a.slice(0,s.index+s[0].length-2)+"++"+a.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(l||(u=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(r){return!!(n=r.call({lexer:o},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)}))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,a,u))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e,I))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e,I))){if(i=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,n=e.slice(1),r=void 0;o.options.extensions.startInline.forEach((function(e){"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}(),n=this.tokenizer.inlineText(i,_))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(u=n.raw.slice(-1)),l=!0,(r=t[t.length-1])&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}throw new Error(d)}}else e=e.substring(n.raw.length),t.push(n);return t},r=e,i=[{key:"rules",get:function(){return{block:B,inline:S}}}],null&&n(r.prototype,null),i&&n(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(),L=function(){function e(e){this.options=e||t.ce}var n=e.prototype;return n.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return e=e.replace(/\n$/,"")+"\n",r?'
'+(n?e:p(e,!0))+"
\n":"
"+(n?e:p(e,!0))+"
\n"},n.blockquote=function(e){return"
\n"+e+"
\n"},n.html=function(e){return e},n.heading=function(e,t,n,r){return this.options.headerIds?"'+e+"\n":""+e+"\n"},n.hr=function(){return this.options.xhtml?"
\n":"
\n"},n.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},n.listitem=function(e){return"
  • "+e+"
  • \n"},n.checkbox=function(e){return" "},n.paragraph=function(e){return"

    "+e+"

    \n"},n.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},n.tablerow=function(e){return"\n"+e+"\n"},n.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},n.strong=function(e){return""+e+""},n.em=function(e){return""+e+""},n.codespan=function(e){return""+e+""},n.br=function(){return this.options.xhtml?"
    ":"
    "},n.del=function(e){return""+e+""},n.link=function(e,t,n){if(null===(e=x(this.options.sanitize,this.options.baseUrl,e)))return n;var r='"+n+""},n.image=function(e,t,n){if(null===(e=x(this.options.sanitize,this.options.baseUrl,e)))return n;var r=''+n+'":">")},n.text=function(e){return e},e}(),N=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),P=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{n=e+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),R=function(){function e(e){this.options=e||t.ce,this.options.renderer=this.options.renderer||new L,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new N,this.slugger=new P}e.parse=function(t,n){return new e(n).parse(t)},e.parseInline=function(t,n){return new e(n).parseInline(t)};var n=e.prototype;return n.parse=function(e,t){void 0===t&&(t=!0);var n,r,i,o,s,l,u,a,c,d,p,f,m,g,b,$,x,v,w,y="",D=e.length;for(n=0;n0&&"paragraph"===b.tokens[0].type?(b.tokens[0].text=v+" "+b.tokens[0].text,b.tokens[0].tokens&&b.tokens[0].tokens.length>0&&"text"===b.tokens[0].tokens[0].type&&(b.tokens[0].tokens[0].text=v+" "+b.tokens[0].tokens[0].text)):b.tokens.unshift({type:"text",text:v}):g+=v),g+=this.parse(b.tokens,m),c+=this.renderer.listitem(g,x,$);y+=this.renderer.list(c,p,f);continue;case"html":y+=this.renderer.html(d.text);continue;case"paragraph":y+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(c=d.tokens?this.parseInline(d.tokens):d.text;n+1";return t?Promise.resolve(i):n?void n(null,i):i}if(t)return Promise.reject(r);if(!n)throw r;n(r)}}((i=r({},q.defaults,s)).silent,i.async,o);if(null==n)return l(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(i),i.hooks&&(i.hooks.options=i),o){var u,a=i.highlight;try{i.hooks&&(n=i.hooks.preprocess(n)),u=e(n,i)}catch(e){return l(e)}var c=function(e){var n;if(!e)try{i.walkTokens&&q.walkTokens(u,i.walkTokens),n=t(u,i),i.hooks&&(n=i.hooks.postprocess(n))}catch(t){e=t}return i.highlight=a,e?l(e):o(null,n)};if(!a||a.length<3)return c();if(delete i.highlight,!u.length)return c();var d=0;return q.walkTokens(u,(function(e){"code"===e.type&&(d++,setTimeout((function(){a(e.text,e.lang,(function(t,n){if(t)return c(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0==--d&&c()}))}),0))})),void(0===d&&c())}if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(n):n).then((function(t){return e(t,i)})).then((function(e){return i.walkTokens?Promise.all(q.walkTokens(e,i.walkTokens)).then((function(){return e})):e})).then((function(e){return t(e,i)})).then((function(e){return i.hooks?i.hooks.postprocess(e):e})).catch(l);try{i.hooks&&(n=i.hooks.preprocess(n));var f=e(n,i);i.walkTokens&&q.walkTokens(f,i.walkTokens);var h=t(f,i);return i.hooks&&(h=i.hooks.postprocess(h)),h}catch(e){return l(e)}}}function q(e,t,n){return M(O.lex,R.parse)(e,t,n)}z.passThroughHooks=new Set(["preprocess","postprocess"]),q.options=q.setOptions=function(e){var n;return q.defaults=r({},q.defaults,e),n=q.defaults,t.ce=n,q},q.getDefaults=function(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},q.defaults=t.ce,q.use=function(){for(var e=q.defaults.extensions||{renderers:{},childTokens:{}},t=arguments.length,n=new Array(t),i=0;i{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";function e(){}n.r(r);const t=e=>e;function i(e,t){for(const n in t)e[n]=t[n];return e}function o(e){return e()}function s(){return Object.create(null)}function l(e){e.forEach(o)}function u(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let c;function d(e,t){return c||(c=document.createElement("a")),c.href=t,e===c.href}function p(e){return 0===Object.keys(e).length}function f(e,t,n,r){if(e){const i=h(e,t,n,r);return e[0](i)}}function h(e,t,n,r){return e[1]&&r?i(n.ctx.slice(),e[1](r(t))):n.ctx}function m(e,t,n,r){if(e[2]&&r){const i=e[2](r(n));if(void 0===t.dirty)return i;if("object"==typeof i){const e=[],n=Math.max(t.dirty.length,i.length);for(let r=0;r32){const t=[],n=e.ctx.length/32;for(let e=0;ewindow.performance.now():()=>Date.now(),k=y?e=>requestAnimationFrame(e):e;const E=new Set;function C(e){E.forEach((t=>{t.c(e)||(E.delete(t),t.f())})),0!==E.size&&k(C)}function A(e){let t;return 0===E.size&&k(C),{promise:new Promise((n=>{E.add(t={c:e,f:n})})),abort(){E.delete(t)}}}const F="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;class T{constructor(e){this.options=e,this._listeners="WeakMap"in F?new WeakMap:void 0}observe(e,t){return this._listeners.set(e,t),this._getObserver().observe(e,this.options),()=>{this._listeners.delete(e),this._observer.unobserve(e)}}_getObserver(){var e;return null!==(e=this._observer)&&void 0!==e?e:this._observer=new ResizeObserver((e=>{var t;for(let n=0;ne.removeEventListener(t,n,r)}function U(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function V(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function W(e){let t;return{p(){for(var n=arguments.length,r=new Array(n),i=0;ie.push(t)))},r(){t.forEach((t=>e.splice(e.indexOf(t),1)))}}}function Y(e,t){t=""+t,e.data!==t&&(e.data=t)}function Z(e,t){e.value=null==t?"":t}function Q(){if(void 0===B){B=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){B=!0}}return B}function K(e,t){let{bubbles:n=!1,cancelable:r=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,n,r,t),i}class X{constructor(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.e||(this.is_svg?this.e=z(t.nodeName):this.e=R(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t7&&void 0!==arguments[7]?arguments[7]:0;const u=16.666/r;let a="{\n";for(let e=0;e<=1;e+=u){const r=t+(n-t)*o(e);a+=100*e+`%{${s(r,1-r)}}\n`}const c=a+`100% {${s(n,1-n)}}\n}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(c)}_${l}`,p=I(e),{stylesheet:f,rules:h}=J.get(p)||function(e,t){const n={stylesheet:O(t),rules:{}};return J.set(e,n),n}(p,e);h[d]||(h[d]=!0,f.insertRule(`@keyframes ${d} ${c}`,f.cssRules.length));const m=e.style.animation||"";return e.style.animation=`${m?`${m}, `:""}${d} ${r}ms linear ${i}ms 1 both`,te+=1,d}function re(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),i=n.length-r.length;i&&(e.style.animation=r.join(", "),te-=i,te||k((()=>{te||(J.forEach((e=>{const{ownerNode:t}=e.stylesheet;t&&N(t)})),J.clear())})))}function ie(e){ee=e}function oe(){if(!ee)throw new Error("Function called outside component initialization");return ee}function se(e){oe().$$.on_mount.push(e)}function le(e){oe().$$.on_destroy.push(e)}function ue(){const e=oe();return function(t,n){let{cancelable:r=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=e.$$.callbacks[t];if(i){const o=K(t,n,{cancelable:r});return i.slice().forEach((t=>{t.call(e,o)})),!o.defaultPrevented}return!0}}function ae(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach((e=>e.call(this,t)))}const ce=[],de=[];let pe=[];const fe=[],he=Promise.resolve();let me=!1;function ge(){me||(me=!0,he.then(De))}function be(){return ge(),he}function $e(e){pe.push(e)}function xe(e){fe.push(e)}const ve=new Set;let we,ye=0;function De(){if(0!==ye)return;const e=ee;do{try{for(;ye{we=null}))),we}function Ce(e,t,n){e.dispatchEvent(K(`${t?"intro":"outro"}${n}`))}const Ae=new Set;let Fe;function Te(){Fe={r:0,c:[],p:Fe}}function Be(){Fe.r||l(Fe.c),Fe=Fe.p}function Se(e,t){e&&e.i&&(Ae.delete(e),e.i(t))}function _e(e,t,n,r){if(e&&e.o){if(Ae.has(e))return;Ae.add(e),Fe.c.push((()=>{Ae.delete(e),r&&(n&&e.d(1),r())})),e.o(t)}else r&&r()}const Ie={duration:0};function Oe(n,r,i){const o={direction:"in"};let s,l,a=r(n,i,o),c=!1,d=0;function p(){s&&re(n,s)}function f(){const{delay:r=0,duration:i=300,easing:o=t,tick:u=e,css:f}=a||Ie;f&&(s=ne(n,0,1,i,r,o,f,d++)),u(0,1);const h=D()+r,m=h+i;l&&l.abort(),c=!0,$e((()=>Ce(n,!0,"start"))),l=A((e=>{if(c){if(e>=m)return u(1,0),Ce(n,!0,"end"),p(),c=!1;if(e>=h){const t=o((e-h)/i);u(t,1-t)}}return c}))}let h=!1;return{start(){h||(h=!0,re(n),u(a)?(a=a(o),Ee().then(f)):f())},invalidate(){h=!1},end(){c&&(p(),c=!1)}}}function Le(n,r,i,o){const s={direction:"both"};let a=r(n,i,s),c=o?0:1,d=null,p=null,f=null;function h(){f&&re(n,f)}function m(e,t){const n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function g(r){const{delay:i=0,duration:o=300,easing:s=t,tick:u=e,css:g}=a||Ie,b={start:D()+i,b:r};r||(b.group=Fe,Fe.r+=1),d||p?p=b:(g&&(h(),f=ne(n,c,r,o,i,s,g)),r&&u(0,1),d=m(b,o),$e((()=>Ce(n,r,"start"))),A((e=>{if(p&&e>p.start&&(d=m(p,o),p=null,Ce(n,d.b,"start"),g&&(h(),f=ne(n,c,d.b,d.duration,0,s,a.css))),d)if(e>=d.end)u(c=d.b,1-c),Ce(n,d.b,"end"),p||(d.b?h():--d.group.r||l(d.group.c)),d=null;else if(e>=d.start){const t=e-d.start;c=d.a+d.d*s(t/d.duration),u(c,1-c)}return!(!d&&!p)})))}return{run(e){u(a)?Ee().then((()=>{a=a(s),g(e)})):g(e)},end(){h(),d=p=null}}}function Ne(e,t){const n={},r={},i={$$scope:1};let o=e.length;for(;o--;){const s=e[o],l=t[o];if(l){for(const e in s)e in l||(r[e]=1);for(const e in l)i[e]||(n[e]=l[e],i[e]=1);e[o]=l}else for(const e in s)i[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function Pe(e){return"object"==typeof e&&null!==e?e:{}}let Re;function ze(e,t,n){const r=e.$$.props[t];void 0!==r&&(e.$$.bound[r]=n,n(e.$$.ctx[r]))}function Me(e){e&&e.c()}function qe(e,t,n,r){const{fragment:i,after_update:s}=e.$$;i&&i.m(t,n),r||$e((()=>{const t=e.$$.on_mount.map(o).filter(u);e.$$.on_destroy?e.$$.on_destroy.push(...t):l(t),e.$$.on_mount=[]})),s.forEach($e)}function je(e,t){const n=e.$$;null!==n.fragment&&(function(e){const t=[],n=[];pe.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),pe=t}(n.after_update),l(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function He(t,n,r,i,o,u,a){let c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[-1];const d=ee;ie(t);const p=t.$$={fragment:null,ctx:[],props:u,update:e,not_equal:o,bound:s(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(d?d.$$.context:[])),callbacks:s(),dirty:c,skip_bound:!1,root:n.target||d.$$.root};a&&a(p.root);let f=!1;if(p.ctx=r?r(t,n.props||{},(function(e,n){const r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return p.ctx&&o(p.ctx[e],p.ctx[e]=r)&&(!p.skip_bound&&p.bound[e]&&p.bound[e](r),f&&function(e,t){-1===e.$$.dirty[0]&&(ce.push(e),ge(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&!p(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});class Ue{$destroy(){je(this,1),this.$destroy=e}$on(t,n){if(!u(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&!p(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function Ve(e){const t=Ye(e).map((e=>(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)));return.2126*t[0]+.7152*t[1]+.0722*t[2]}function We(e,t){const n=Ve(e),r=Ve(t);return 1/(n>r?(r+.05)/(n+.05):(n+.05)/(r+.05))}function Ye(e){const t=e.match(/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/);if(t)return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])];const n=(/^#[0-9a-fA-F]{6}$/.test(e)?e:function(e){const t=document.createElement("canvas").getContext("2d");return t.fillStyle=e,t.fillStyle}(e)).substring(1).match(/.{1,2}/g);return[parseInt(n[0],16),parseInt(n[1],16),parseInt(n[2],16)]}function Ze(e){const t=Ye(e),n=t[0]/255,r=t[1]/255,i=t[2]/255;let o=Math.min(n,r,i),s=Math.max(n,r,i),l=s-o,u=0,a=0,c=0;return u=0==l?0:s==n?(r-i)/l%6:s==r?(i-n)/l+2:(n-r)/l+4,u=Math.round(60*u),u<0&&(u+=360),c=(s+o)/2,a=0==l?0:l/(1-Math.abs(2*c-1)),a=+(100*a).toFixed(1),c=+(100*c).toFixed(1),"hsl("+u+","+a+"%,"+c+"%)"}function Qe(e,t){const n=Ye(e),r=255*t,i=n.map((e=>Math.round(Math.min(255,Math.max(0,e+r)))));return`rgb(${i[0]},${i[1]},${i[2]})`}function Ke(e,t){if(t<0||t>1)return e;const n=Ye(e);return`rgba(${n[0]},${n[1]},${n[2]},${t})`}function Xe(e,t){const n=document.createElement("canvas");n.width=5,n.height=5;const r=n.getContext("2d");r.fillStyle=t,r.fillRect(0,0,n.width,n.height),r.fillStyle=e,r.fillRect(0,0,n.width,n.height);const i=r.getImageData(0,0,1,1).data;return`rgb(${i[0]},${i[1]},${i[2]})`}function Ge(e,t,n,r){if(!r)return e;const i=e;let o=We(e,t);if(o>n)return e;let s=function(e,t){const n=+Ze(e).match(/([0-9.]+)%\)/)[1],r=+Ze(t).match(/([0-9.]+)%\)/)[1];return n>r||n===r&&n<50}(e,t)?1/255:-1/255;for(;o0?(s=-1/255,e=i):"rgb(0,0,0)"===e&&s<0&&(s=1/255,e=i),o=We(e=Qe(e,s),t);return e}function Je(e,t,n,r,i,o){if(!o)return Ke(e,t);let s=We(Xe(Ke(e,t),n),r);if(s>i)return Ke(e,t);for(;s()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Ct=/^(https?:\/\/)?(?:[a-z0-9-]{1,63}\.)*[a-z0-9-]{1,63}(\/.*?)?$/gi,At=/^\+?\d*$/,Ft=/#/,Tt="crazyegg-feedback",Bt="survey",St="launched",_t="https://core.crazyegg.com",It=[0,3e3,5e3],Ot="__OTHER__",{debug:Lt,addListener:Nt,removeListener:Pt,ExitIntent:Rt,get:zt,matchesAddon:Mt,matchesTrigger:qt,trackSurveyResponse:jt,loadScript:Ht,IndexedDB:Ut,Preview:Vt,Emitter:Wt,pagesTracker:Yt}=CE2;function Zt(e,t){return"function"!=typeof Mt?qt(e.config?.audience?.conditions,t):Mt(e,t)}const Qt={FOREVER:"forever",EVERY_TIME:"every_time",SESSION:"session"},Kt="addon_closable",Xt=(e,t)=>{const n=t[e.id],{closable:r}=e.config;if(!n?.closed)return!0;if(!r||r===Qt.EVERY_TIME)return!0;if(r===Qt.FOREVER)return Lt(`[Addons][Closable] Matching id=${e.id} result=rejected reason=closedForever`),!1;if(r===Qt.SESSION&&(i=e.id,!0===JSON.parse(window.sessionStorage.getItem(Kt)||"{}")[i]))return Lt(`[Addons][Closable] Matching id=${e.id} result=rejected reason=closedSession`),!1;var i;const o=(e=>{if(!0===e)return 1;const t=e.match(/([\d])+_/);return!(!t||!t[1])&&parseInt(t[1],10)})(r);if(o){const t=n.closedAt+864e5*oe.id===n&&r++)),!(r>1)||this.createError({path:`${this.path}`})})),title:Gt.string().required("Please provide the question."),image:Gt.object().shape({id:Gt.string().required(),publicUrl:Gt.string().required(),alt:Gt.string().required("Please provide a description for the image.")}).default(void 0),subtext:Gt.string()}),en=Gt.object().shape({optional:Gt.boolean(),skipButton:Gt.object().when("optional",((e,t)=>t.shape({title:e?Gt.string().required("Please provide a title for the button."):Gt.string()}))),nextButton:Gt.object().shape({title:Gt.string().required("Please provide a title for the button.")}),requiredErrorMessage:Gt.string().when("optional",{is:e=>!e,then:Gt.string().required("Please provide an error message.")})}),tn=Gt.object().shape({allowOtherResponses:Gt.boolean(),defaultOtherResponse:Gt.string().when("allowOtherResponses",{is:!0,then:e=>e.required("Please provide a default value."),otherwise:e=>e.notRequired().nullable()})}),nn=Gt.lazy((e=>{const{type:t,subtype:n,optional:r}=e,i=[ut.IS_SUBMITTED,ut.IS_EXACTLY];r&&i.push(ut.IS_SKIPPED),(t===tt.TEXT_ENTRY||t===tt.MULTI_CHOICE&&n===it.MULTI)&&(i.push(ut.CONTAINS),i.push(ut.IS_ANY_OF));const o=Gt.object().shape({logic:Gt.object().nullable().default(null).shape({version:Gt.number().required("Please provide a number.").typeError("Please provide a valid number.").integer("Please provide a valid number."),statements:Gt.array().required("Please provide statements.").of(Gt.object().shape({id:Gt.string(),conditional:Gt.object().shape({operator:Gt.string().required("Please provide an operator.").oneOf(["AND"],"Please provide a valid operator."),conditions:Gt.array().required("Please provide conditions.").of(Gt.object().shape({criteria:Gt.string().required("Please provide a criteria.").oneOf(["answer"],"Please provide a valid criteria."),comparison:Gt.string().required("Please provide a comparison.").oneOf(i,"Please provide a valid comparison."),values:Gt.mixed().when("comparison",{is:e=>[ut.IS_SKIPPED,ut.IS_SUBMITTED].includes(e),then:Gt.array().nullable(),otherwise:Gt.array().required("Please provide values.").min(1,n===it.MULTI?"Please provide at least one value.":"Please provide a value.")})})).min(1,"Please provide at least one condition.").max(1,"Only a single condition is supported at the moment.")}),actions:Gt.array().required("Please provide actions.").of(Gt.object().shape({editorAction:Gt.string(),action:Gt.string().required("Please select an action.").oneOf([...Object.values(at)],"Please provide a valid action.").test("only one of open-url,close,show-question,email,phone",`You can only have one of ${at.OPEN_URL}, ${at.CLOSE}, ${at.SHOW_QUESTION}, ${at.MAILTO}, ${at.PHONE}.`,(function(e,t){let n=0;const r=[at.OPEN_URL,at.CLOSE,at.SHOW_QUESTION,at.MAILTO,at.PHONE];return!(r.includes(e)&&(t.from[1].value.actions.forEach((e=>r.includes(e.action)&&n++)),n>1))||this.createError({path:`${this.path}`})})),questionId:Gt.string().when("action",{is:e=>e===at.SHOW_QUESTION,then:Gt.string().required("Please provide a value.").test("valid-questionId","Please provide a valid value.",(function(e,t){let n=[...Object.values(ct)],r=!1;const i=t.from[3].value.id;return t.from[t.from.length-1].value.questions.forEach((e=>{e.id!==i&&n.push(e.id),e.subtype===st.THANK_YOU&&(r=!0)})),r||(n=n.filter((e=>e!==ct.THANK_YOU))),!!n.includes(e)||this.createError({path:`${this.path}`})})),otherwise:Gt.string().nullable()}),url:Gt.string().when("action",{is:e=>e===at.OPEN_URL,then:Gt.string().required("Please provide a URL.").isValidUrl(),otherwise:Gt.string().when("action",{is:e=>e===at.MAILTO,then:Gt.string().required("Please provide an email address.").email("Please provide a valid email address."),otherwise:Gt.string().when("action",{is:e=>e===at.PHONE,then:Gt.string().required("Please provide a phone number.").test("phone","Numbers only.",(e=>!e||e.match(At))),otherwise:Gt.string().nullable()})})}),target:Gt.string().when("action",{is:e=>e===at.OPEN_URL,then:Gt.string().required().oneOf([...Object.values(dt)],"Please provide a valid target."),otherwise:Gt.string().nullable()})})).min(1,"Please add an action.")}).test("is-submitted must be last","The is-submitted comparison must be in the last statement.",(function(e){return!(e&&e.conditional.conditions?.[0]&&this.parent.length)||!this.parent.some(((e,t)=>t!==this.parent.length-1&&e.conditional.conditions[0].comparison===ut.IS_SUBMITTED))||this.createError({path:`${this.path}.conditional.conditions[0].comparison`})})))})});switch(t){case tt.MULTI_CHOICE:return Gt.object().shape({type:Gt.string().matches(tt.MULTI_CHOICE),subtype:Gt.string().required("Please provide a subtype.").oneOf([...Object.values(it)],"Invalid subtype."),options:Gt.array().required("Please provide options.").of(Gt.string().required("Please add a value.")).min(2,"Please add at least ${min} options.").test("unique","Please provide a unique value.",(function(e){if(e.length===new Set(e).size)return!0;for(let t=e.length-1;t>=0;t--){const n=[...e];if(n.splice(t,1),n.includes(e[t]))return this.createError({path:`${this.path}[${t}]`})}return!0})),randomize:Gt.string().required("Please provide a value.").oneOf([...Object.values(ot)],"Please provide a correct value."),dropdownSelect:Gt.object().shape({defaultText:Gt.string().required("Please provide a default text."),multipleItemsText:Gt.string().matches(/#/,'Please include "#" anywhere in the text.').required("Please provide a default text.")})}).concat(Jt).concat(en).concat(o).concat(tn);case tt.TEXT_ENTRY:return Gt.object().shape({type:Gt.string().matches(tt.TEXT_ENTRY),subtype:Gt.string().required("Please provide a subtype.").oneOf([...Object.values(nt)],"Invalid subtype."),placeholder:Gt.string()}).concat(Jt).concat(en).concat(o);case tt.RATING:{const e=Gt.object().shape({label:Gt.string().required("Please provide a label.")});return Gt.object().shape({type:Gt.string().matches(tt.RATING),subtype:Gt.string().required("Please provide a subtype.").oneOf([...Object.values(rt)],"Invalid subtype."),min:Gt.object().when("subtype",{is:e=>e===rt.NUMERICAL,then:Gt.object().shape({value:Gt.number().required("Please provide a number.").typeError("Please provide a valid number.").integer("Please provide a valid number.").min(0,"The minimum value should be at least ${min}.").max(1,"The minimum value cannot exceed ${max}")}).concat(e),otherwise:e}),max:Gt.object().when("subtype",{is:e=>e===rt.NUMERICAL,then:Gt.object().shape({value:Gt.number().required("Please provide a number.").typeError("Please provide a valid number.").integer("Please provide a valid number.").min(2,"The maximum value should be at least ${min}.").max(10,"The maximum value cannot exceed ${max}")}).concat(e),otherwise:e})}).concat(Jt).concat(en).concat(o)}case tt.STATIC_DISPLAY:return Gt.object().shape({type:Gt.string().matches(tt.STATIC_DISPLAY),subtype:Gt.string().required("Please provide a subtype.").oneOf([...Object.values(st)],"Invalid subtype."),linkButton:Gt.object().when("subtype",{is:e=>e===st.THANK_YOU,then:Gt.object().shape({enabled:Gt.boolean(),title:Gt.string().when("enabled",{is:e=>!0===e,then:Gt.string().required("Please provide a title for the button.")}),url:Gt.string().when("enabled",{is:e=>!0===e,then:Gt.string().required("Please provide a URL.").test("url type","Please provide a valid URL type.",(function(e,t){if(!e)return!0;if(e.match(/^mailto:/)){const n=e.replace("mailto:","");if(!Gt.string().email().isValidSync(n))return t.createError({message:"Please provide a valid email address."})}else if(e.match(/^tel:/)){if(!e.replace("tel:","").match(At))return t.createError({message:"Numbers only: please remove any invalid characters."})}else if(!Gt.string().isValidUrl().isValidSync(e))return t.createError({message:"Please provide a valid URL."});return!0}))})})}),nextButton:Gt.object().when("subtype",{is:e=>e===st.NORMAL,then:Gt.object().shape({enabled:Gt.boolean(),title:Gt.string().when("enabled",{is:e=>!0===e,then:Gt.string().required("Please provide a title for the button.")})})})}).concat(Jt).concat(Gt.object().shape({title:Gt.string().required("Please provide the heading.")})).concat(o);default:return Gt.object().shape({type:Gt.string().required("Please provide a type.").oneOf([...Object.values(tt)],"Invalid question type.")})}})),rn=Gt.object().shape({questions:Gt.array().of(nn).required("You must add at least one question.").min(1,"You must add at least one question."),theme:Gt.object().shape({dark:Gt.boolean(),accent:Gt.string().isValidColor(),removeBranding:Gt.boolean(),customBrandingText:Gt.string(),adjustColors:Gt.boolean(),overrides:Gt.lazy((e=>e?Gt.object(CE2BH.extends({},Object.keys(e).reduce(((e,t)=>CE2BH.extends({},e,{[t]:Gt.string().isValidColor()})),{}))):Gt.object().nullable()))}),position:Gt.string().oneOf([...Object.values(lt)]),autoPosition:Gt.boolean(),autoPositionFallbackToShow:Gt.boolean(),closable:Gt.mixed().isValidClosableOption()});var on=n(1008),sn=n.n(on);const ln=7,un=3;function an(e){let{accent:t,dark:n,key:r,adjustColors:i}=e;const o=n?"#0a1c2e":"#fff",s=n?"#28292A":"#fff",l=s,u=()=>Ge(n?"#fff":"#0a1c2e",l,ln,i),a=n?"#28292A":"#fff",c=s,d=n?"#fff":"#0a1c2e",p=n?"#fff":"#0a1c2e",f=()=>Ge(n?Qe("#28292A",.05):"#F7F8FC",p,ln,i),h=n?"#0a1c2e":"#3B4246";switch(r){case"link":return Ge(t,s,ln,i);case"cta-text":return o;case"cta-bg":return Ge(t,o,ln,i);case"cta-bg-hover":return Qe(Ge(t,o,ln,i),n?.15:-.1);case"cta-bg-active":return Qe(Ge(t,o,ln,i),n?.07:-.05);case"skip-btn-text":return u();case"skip-btn-border":case"input-border":return Je(t,.2,s,s,un,i);case"skip-btn-hover-border":case"input-border-focus":case"choice":return Ge(t,s,un,i);case"skip-btn-bg":return l;case"skip-btn-bg-hover":return Je(Qe(t,n?.1:-.4),.1,s,u(),ln,i);case"skip-btn-bg-active":return Je(Qe(t,n?-.1:-.3),.1,s,u(),ln,i);case"focus":return Ge(n?"#fff":t,s,un,i);case"title":case"rating-text":return Ge(n?"#fff":"#0a1c2e",s,ln,i);case"subtext":case"rating-label":return n?Je("#fff",.7,s,s,ln,i):Ge("#3B4246",s,ln,i);case"popup-shadow":return n?"0 4px 24px 0 rgba(36,37,39,0.6)":"0 4px 24px 0 rgba(84,89,98,0.2)";case"background":return s;case"branding":return n?Je("#fff",.65,s,s,ln,i):Je("#0A1C2E",.73,s,s,ln,i);case"close-btn-icon":return n?"#fff":"#0a1c2e";case"close-btn-bg":return a;case"close-btn-bg-hover":return n?"#3D3E3F":"#F3F4F6";case"close-btn-bg-active":return n?"#535354":"#E2E4E6";case"close-btn-ring":return Ge(t,a,un,i);case"input-bg":return c;case"input-text":return Ge(n?"#fff":"#0a1c2e",c,ln,i);case"placeholder":return Je(n?"#fff":"#0a1c2e",.5,c,c,ln,i);case"scrollbar-thumb":return Ke(n?"#fff":"#0a1c2e",.4);case"scrollbar-thumb-hover":return Ke(n?"#fff":"#0a1c2e",.5);case"scrollbar-thumb-active":return Ke(n?"#fff":"#0a1c2e",.6);case"scrollbar-track":return"transparent";case"choice-label-text":return Je(n?"#fff":"#0a1c2e",.8,s,s,ln,i);case"choice-label-selected-shadow":return n?"0 4px 15px 0 rgba(89, 89, 89, 0.5)":`0 4px 15px 0 ${Ke(t,.2)}`;case"choice-label-selected-text":return d;case"choice-label-selected-bg":return Je(t,n?.2:.1,s,d,ln,i);case"select-option-text":return p;case"select-dropdown-bg":return f();case"select-option-bg":return Ge(n?Qe("#28292A",.05):"#F7F8FC",p,ln,i);case"select-option-bg-active":case"select-dropdown-indicator-bg":return Je(t,n?.2:.1,f(),p,ln,i);case"select-option-bg-hover":return Je(t,.05,f(),p,ln,i);case"select-dropdown-indicator-bg-hover":return Je(t,n?.4:.3,f(),p,ln,i);case"rating-stars":return Ge(n?"#FFC324":"#916503",s,un,i);case"code-text":return h;case"code-bg":return Ge(n?"#46484a":"#F1F1F1",h,ln,i);case"error-message":return Ge("#ea5e5c",s,ln,i);case"external-bg-color":return n?"#353637":"#F9FAFD";case"external-bg-image":return n?"none":"radial-gradient(rgb(239, 242, 247) 2px, rgb(249, 250, 253) 2px)";case"big-logo":return n?"#99999A":"#828B96";case"big-branding-link":return n?"#7FC2F2":"#0086E6";default:return}}function cn(e){let{accent:t,dark:n,key:r,adjustColors:i}=e;const o=n?"#fff":"#0a1c2e";switch(r){case"tooltip-bg":return n?"#232323":"#fff";case"tooltip-text":return n?"#fff":"#0a1c2e";case"cta-text":return o;case"cta-bg":case"focus":return Ge(t,o,ln,i);case"cta-bg-hover":return Qe(Ge(t,o,ln,i),n?-.1:.15);case"cta-bg-active":return Qe(Ge(t,o,ln,i),n?-.05:.07);case"popup-shadow":return n?"0 4px 14px rgba(36,37,39,0.2)":"0 4px 14px rgba(84,89,98,0.2)";default:return}}function dn(e){let{bar:t,button:n,dark:r,key:i,adjustColors:o}=e;const s=r?"#fff":"#0a1c2e",l=Ge(t,s,ln,o),u=r?"#0a1c2e":"#fff",a=Ge(Ge(n,l,un,o),u,ln,o);switch(i){case"link":return Ge(n,l,ln,o);case"cta-text":return u;case"cta-bg":return a;case"cta-bg-hover":return Qe(a,r?.15:-.1);case"cta-bg-active":return Qe(a,r?.07:-.05);case"focus":return Ge(r?"#fff":n,l,un,o);case"title":return s;case"background":return l;case"close-btn-icon":return Ke(r?"#fff":"#0a1c2e",.5);case"close-btn-icon-hover":return Ke(r?"#fff":"#0a1c2e",.8);default:return}}function pn(e,t){Lt(`[Addons] ${e}`,t)}const fn=/\{\{([^{}]+)}}/g,hn=10,{documentElement:mn,body:gn}=document;function bn(e){for(;e&&(e!==gn||e!==mn)&&e instanceof Element;){const t=getComputedStyle(e).position;if(/^(fixed)|(sticky)$/i.test(t))return!0;e=e.offsetParent}}function $n(e,t,n){for(let r=n.length-1;r>=0;r--){const[i,o]=n[r];if(e>=i&&t<=o)return n.splice(r+1,0,[t,n[r][1]]),void(n[r][1]=e);e>=i&&eo&&(n[r][1]=e),ei&&(n[r][0]=t),eo&&n.splice(r,1)}}function xn(e,t,n){for(let r=0;r<=e.length-1;r++){const[i,o]=e[r];if(i<=t&&o>=n)return!0}return!1}function vn(e,t){for(let n=e.length-1;n>=0;n--){const[r,i]=e[n];if(i-t>=r)return i}}function wn(e,t){const n=new RegExp(`${t}:[ ]*([0-9]*)px`),r=Number(e.match(n)?.[1]);if(!isNaN(r))return r}function yn(e){let{preferred:t,preview:n,autoPosition:r,autoPositionFallbackToShow:i,width:o,height:s,external:l,observer:u,rootElement:a,currentPosition:c}=e;if(n)return"position: relative; top: 0; left: 0;";if(l)return"position: absolute; top: 0; left: 0;";const d=mn.clientWidth||gn.clientWidth,p=mn.clientHeight||window.innerHeight,{freeSpaceBottom:f,freeSpaceLeft:h,freeSpaceRight:m,maxZ:g,elementsToObserve:b}=function(e){let{root:t,autoPosition:n,windowWidth:r=0,windowHeight:i=0,width:o,height:s,screenPaddingX:l=0,screenPaddingY:u=0,rootElement:a}=e,c=0;const d=[[l,r-l]],p=[[l,r-l]],f=[[u,i-u]],h=[[u,i-u]],m=[];return function e(t){t.querySelectorAll("*").forEach((t=>{if(t===a)return;const l=getComputedStyle(t)["z-index"];if(l>0&&(c=Math.max(c,l)),n&&bn(t)){const e=t.getBoundingClientRect();(function(e,t,n){let{width:r,height:i}=e;return r*i=t-n||e.top<=t&&e.top>=t-n||e.bottom>=t&&e.top<=t.height}(e,i,s)&&($n(e.left-hn,e.right+hn,d),t.parentElement&&!m.includes(t.parentElement)&&m.push(t.parentElement)),function(e,t){return e.bottom=0||e.top>=0&&e.top<=t||e.top<=0&&e.bottom>-t}(e,s)&&($n(e.left-hn,e.right+hn,p),t.parentElement&&!m.includes(t.parentElement)&&m.push(t.parentElement)),function(e,t){return e.left>=0&&e.left<=t||e.right>=0&&e.right<=t||e.left<=0&&e.right>=t}(e,o)&&($n(e.top-hn,e.bottom+hn,f),t.parentElement&&!m.includes(t.parentElement)&&m.push(t.parentElement)),function(e,t,n){return e.left<=t&&e.left>=t-n||e.right<=t&&e.right>=t-n||e.left<=t-n&&e.right>=t}(e,r,o)&&($n(e.top-hn,e.bottom+hn,h),t.parentElement&&!m.includes(t.parentElement)&&m.push(t.parentElement)))}t.shadowRoot&&e(t.shadowRoot)}))}(t),{maxZ:c,freeSpaceBottom:d,freeSpaceLeft:f,freeSpaceRight:h,freeSpaceTop:p,elementsToObserve:m}}({root:mn,autoPosition:r,windowWidth:d,windowHeight:p,width:o,height:s,screenPaddingX:20,screenPaddingY:10,rootElement:a}),$=function(e){let{preferred:t,autoPosition:n,autoPositionFallbackToShow:r,freeSpaceBottom:i,freeSpaceLeft:o,freeSpaceRight:s,windowWidth:l,windowHeight:u,width:a,height:c,screenPaddingX:d,screenPaddingY:p,currentPosition:f}=e;if(f){const e=wn(f,"left"),t=wn(f,"right"),n=wn(f,"bottom");if(n===p){if(e&&xn(i,e,e+a))return f;if(t&&xn(i,l-t-a,l-t))return f}else{if(e&&xn(o,u-n-c,u-n))return f;if(t&&xn(s,u-n-c,u-n))return f}}const h=vn(i,a),m=vn(s,c),g=function(e,t){for(let n=0;n<=e.length-1;n++){const[r,i]=e[n];if(r+t<=i)return r}}(i,a),b=vn(o,c);let $,x,v="";const w=t===lt.BOTTOMLEFT?`bottom: ${p}px; left: ${d}px;`:`bottom: ${p}px; right: ${d}px;`;if(t===lt.BOTTOMLEFT){if(!n)return w;x=g-d,void 0!==g&&(v=`bottom: ${p}px; left: ${g}px`,$=x),x=l-h-d,void 0!==h&&(x<$||void 0===$)&&(v=`bottom: ${p}px; right: ${l-h}px`,$=x)}else{if(!n)return w;x=l-h-d,void 0!==h&&(v=`bottom: ${p}px; right: ${l-h}px`,$=x),x=g-d,void 0!==g&&(x<$||void 0===$)&&(v=`bottom: ${p}px; left: ${g}px`,$=x)}return x=u-m-p,void 0!==m&&(x<$||void 0===$)&&(v=`bottom: ${u-m}px; right: ${d}px`,$=x),x=u-b-p,void 0!==b&&(x<$||void 0===$)&&(v=`bottom: ${u-b}px; left: ${d}px`,$=x),!v&&r?w:v}({preferred:t,autoPosition:r,autoPositionFallbackToShow:i,freeSpaceBottom:f,freeSpaceLeft:h,freeSpaceRight:m,windowWidth:d,windowHeight:p,width:o,height:s,screenPaddingX:20,screenPaddingY:10,currentPosition:c});return u?.disconnect(),$===c?c:$?(pn("Survey is positioned",$),`position: fixed; z-index: ${g+1}; ${$};`):(pn("Could not autoposition the survey to fit. Elements on the page to avoid:",b),void b.forEach((e=>{u?.observe(e,{subtree:!0,childList:!0,attributeFilter:["style","class"]})})))}function Dn(e){for(let t=e.length-1;t>0;t-=1){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e}function kn(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0,o=t+1;const{logic:s,type:l,subtype:u}=e[t];return s?.statements.some((s=>!!function(e,t,n,r,i){const{values:o}=e;if(i)return e.comparison===ut.IS_SKIPPED;switch(e.comparison){case ut.IS_SUBMITTED:return!i;case ut.IS_EXACTLY:if(r===rt.NPS){let e;switch(o[0]){case"promoter":e=[9,10];break;case"passive":e=[7,8];break;case"detractor":e=[0,1,2,3,4,5,6]}return e.includes(+t)}if(Array.isArray(t))return l=o,(s=t).length===l.length&&s.every((e=>l.includes(e)));if(String(t).toLowerCase()===String(o[0]).toLowerCase())return!0;break;case ut.CONTAINS:if(n===tt.MULTI_CHOICE&&r===it.MULTI)return o.every((e=>t.includes(e)));if(n===tt.TEXT_ENTRY)return o.every((e=>new RegExp(`\\b${e}\\b`,"i").test(t)));break;case ut.IS_ANY_OF:if(n===tt.MULTI_CHOICE&&r===it.MULTI)return o.some((e=>t.includes(e)))}var s,l;return!1}(s.conditional.conditions[0],n,l,u,r)&&(o=function(e,t,n,r){function i(){o=r?t.length-1:t.length+10}let o=n+1;return e.forEach((e=>{switch(e.action){case at.SHOW_QUESTION:switch(e.questionId){case ct.FIRST:o=0;break;case ct.LAST:o=t[t.length-1].subtype===st.THANK_YOU?t.length-2:t.length-1;break;case ct.NEXT:o=n+1;break;case ct.THANK_YOU:o=t.findIndex((e=>e.subtype===st.THANK_YOU));break;default:o=t.findIndex((t=>t.id===e.questionId))}break;case at.CLOSE:i();break;case at.OPEN_URL:{let t,n="CESurveyTarget";switch(e.target){case dt.SAME_WINDOW:n="_self";break;case dt.NEW_WINDOW:t="popup;toolbar=yes";case dt.NEW_TAB:}window.open(e.url,n,t),i()}break;case at.MAILTO:window.open(`mailto:${e.url}`,"_self"),i();break;case at.PHONE:window.open(`tel:${e.url}`),i()}})),o}(s.actions,e,t,i),!0))),o}function En(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return function(r){t&&clearTimeout(t),t=setTimeout(e,n,r)}}const Cn=window.matchMedia("(max-width: 600px)");function An(e){return e||Cn.matches}function Fn(e,t){return e.type===tt.RATING&&!t&&(e.subtype===rt.NPS||e.subtype===rt.NUMERICAL&&e.max.value-e.min.value>=6)}function Tn(e,t){return(e?.some((e=>Fn(e,t)))?532:310)??310}function Bn(e,t){const n=e?.scriptVersion&&t?e.scriptVersion:CE2?.VERSION;return{CLOSABLE:!!n&&CE2.minimumVersion(n,"11.5.61"),LABEL_MULTIPLE_CHOICE:!!n&&CE2.minimumVersion(n,"11.5.71"),MULTIPLE_URLS_TYPE:!!n&&CE2.minimumVersion(n,"11.5.80"),CLOSABLE_OPTIONS:!!n&&CE2.minimumVersion(n,"11.5.88"),SAMPLING:!!n&&CE2.minimumVersion(n,"11.5.88"),POPUP_IMAGE:!!n&&CE2.minimumVersion(n,"11.5.118"),CUSTOM_BRANDING:!!n&&CE2.minimumVersion(n,"11.5.141"),COLOR_ACCESSIBILITY:!!n&&CE2.minimumVersion(n,"11.5.149"),BUTTON_CTA_TOOLTIP_MARKDOWN:!!n&&CE2.minimumVersion(n,"11.5.170"),MESSAGE_QUESTION_TYPE:!!n&&CE2.minimumVersion(n,"11.5.348"),OTHER_RESPONSE:!!n&&CE2.minimumVersion(n,"11.5.378")}}function Sn(e){let t=e.min?.value,n=e.max?.value;switch(e.subtype){case rt.NPS:t=0,n=10;break;case rt.NUMERICAL:break;case rt.STARS:case rt.SMILEY:t=1,n=5}return{min:t,max:n}}function _n(e){return e.match(Et)}function In(e){let{delay:n=0,duration:r=400,easing:i=t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=+getComputedStyle(e).opacity;return{delay:n,duration:r,easing:i,css:e=>"opacity: "+e*o}}var On=n(2703),Ln=n.n(On);function Nn(e){let t,n,r,i,o;const s=e[6].default,l=f(s,e,e[5],null);return{c(){t=R("div"),l&&l.c(),V(t,"class",n=Ln()("font-sans text-base flex flex-col items-center justify-center w-full min-h-screen",{"bg-external-bg-color bg-[length:20px_20px]":!e[4]})),V(t,"style",r=`${e[0]} ${e[1]} ${e[4]?"":"background-image: var(--external-bg-image);"}`),V(t,"ce-dont-mask",""),V(t,"id","main")},m(e,n){L(e,t,n),l&&l.m(t,null),o=!0},p(e,i){l&&l.p&&(!o||32&i)&&g(l,s,e,e[5],o?m(s,e[5],i,null):b(e[5]),null),(!o||16&i&&n!==(n=Ln()("font-sans text-base flex flex-col items-center justify-center w-full min-h-screen",{"bg-external-bg-color bg-[length:20px_20px]":!e[4]})))&&V(t,"class",n),(!o||19&i&&r!==(r=`${e[0]} ${e[1]} ${e[4]?"":"background-image: var(--external-bg-image);"}`))&&V(t,"style",r)},i(e){o||(Se(l,e),i||$e((()=>{i=Oe(t,In,{}),i.start()})),o=!0)},o(e){_e(l,e),o=!1},d(e){e&&N(t),l&&l.d(e)}}}function Pn(e){let t,n,r,i,o;const s=e[6].default,l=f(s,e,e[5],null);return{c(){t=R("div"),l&&l.c(),V(t,"class",n=Ln()("font-sans text-base flex flex-col items-center justify-center")),V(t,"style",r=`${e[0]} ${e[1]}`),V(t,"ce-dont-mask",""),V(t,"id","main")},m(e,n){L(e,t,n),l&&l.m(t,null),o=!0},p(e,n){l&&l.p&&(!o||32&n)&&g(l,s,e,e[5],o?m(s,e[5],n,null):b(e[5]),null),(!o||3&n&&r!==(r=`${e[0]} ${e[1]}`))&&V(t,"style",r)},i(e){o||(Se(l,e),i||$e((()=>{i=Oe(t,In,{}),i.start()})),o=!0)},o(e){_e(l,e),o=!1},d(e){e&&N(t),l&&l.d(e)}}}function Rn(e){let t,n,r,i,o,s;const u=e[6].default,a=f(u,e,e[5],null);return{c(){t=R("div"),a&&a.c(),V(t,"class","font-sans text-base duration-500 transition-[left,right,top,bottom]"),V(t,"style",n=`${e[0]} ${e[1]}`),V(t,"ce-dont-mask",""),V(t,"id","main")},m(n,r){L(n,t,r),a&&a.m(t,null),i=!0,o||(s=[H(t,"mouseenter",e[7]),H(t,"mouseleave",e[8]),H(t,"focusin",e[9]),H(t,"focusout",e[10])],o=!0)},p(e,r){a&&a.p&&(!i||32&r)&&g(a,u,e,e[5],i?m(u,e[5],r,null):b(e[5]),null),(!i||3&r&&n!==(n=`${e[0]} ${e[1]}`))&&V(t,"style",n)},i(e){i||(Se(a,e),r||$e((()=>{r=Oe(t,In,{}),r.start()})),i=!0)},o(e){_e(a,e),i=!1},d(e){e&&N(t),a&&a.d(e),o=!1,l(s)}}}function zn(e){let t,n,r,i;const o=[Rn,Pn,Nn],s=[];function l(e,t){return e[3]?e[2]?1:2:0}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let[u]=i,a=t;t=l(e),t===a?s[t].p(e,u):(Te(),_e(s[a],1,1,(()=>{s[a]=null})),Be(),n=s[t],n?n.p(e,u):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function Mn(e,t,n){let{$$slots:r={},$$scope:i}=t,{cssVariables:o}=t,{positionStyle:s}=t,{preview:l}=t,{external:u}=t,{sitePreview:a}=t;return e.$$set=e=>{"cssVariables"in e&&n(0,o=e.cssVariables),"positionStyle"in e&&n(1,s=e.positionStyle),"preview"in e&&n(2,l=e.preview),"external"in e&&n(3,u=e.external),"sitePreview"in e&&n(4,a=e.sitePreview),"$$scope"in e&&n(5,i=e.$$scope)},[o,s,l,u,a,i,r,function(t){ae.call(this,e,t)},function(t){ae.call(this,e,t)},function(t){ae.call(this,e,t)},function(t){ae.call(this,e,t)}]}const qn=class extends Ue{constructor(e){super(),He(this,e,Mn,zn,a,{cssVariables:0,positionStyle:1,preview:2,external:3,sitePreview:4})}},jn=new CE2.EmojiConvertor;function Hn(e){var t;e.innerHTML=(t=e.innerHTML,jn.replace_colons(t))}function Un(e){let t,n,r,i,o,s;return{c(){t=R("div"),n=M(e[0]),V(t,"class",r=Ln()("whitespace-pre-wrap",e[1])),V(t,"dir","auto")},m(e,r){L(e,t,r),_(t,n),o||(s=w(i=Hn.call(null,t)),o=!0)},p(e,i){1&i&&Y(n,e[0]),2&i&&r!==(r=Ln()("whitespace-pre-wrap",e[1]))&&V(t,"class",r)},d(e){e&&N(t),o=!1,s()}}}function Vn(t){let n,r=t[0],i=Un(t);return{c(){i.c(),n=j()},m(e,t){i.m(e,t),L(e,n,t)},p(e,t){let[o]=t;1&o&&a(r,r=e[0])?(i.d(1),i=Un(e),i.c(),i.m(n.parentNode,n)):i.p(e,o)},i:e,o:e,d(e){e&&N(n),i.d(e)}}}function Wn(e,t,n){let{text:r}=t,{className:i=""}=t;return e.$$set=e=>{"text"in e&&n(0,r=e.text),"className"in e&&n(1,i=e.className)},[r,i]}jn.use_sheet=!1,jn.avoid_ms_emoji=!1,jn.allow_native=!0,jn.img_set="google",jn.include_text=!0,jn.wrap_native=!0,jn.img_sets.google.path="https://cdn.jsdelivr.net/npm/emoji-datasource-google@7.0.2/img/google/64/";const Yn=class extends Ue{constructor(e){super(),He(this,e,Wn,Vn,a,{text:0,className:1})}};function Zn(e){let t,n,r,i,o;return n=new Yn({props:{text:e[0],className:"truncate !whitespace-pre"}}),{c(){t=R("button"),Me(n.$$.fragment),V(t,"type","button"),V(t,"class",e[3])},m(s,l){L(s,t,l),qe(n,t,null),r=!0,i||(o=H(t,"click",e[7]),i=!0)},p(e,i){const o={};1&i&&(o.text=e[0]),n.$set(o),(!r||8&i)&&V(t,"class",e[3])},i(e){r||(Se(n.$$.fragment,e),r=!0)},o(e){_e(n.$$.fragment,e),r=!1},d(e){e&&N(t),je(n),i=!1,o()}}}function Qn(e){let t,n,r;return n=new Yn({props:{text:e[0],className:"truncate !whitespace-pre"}}),{c(){t=R("button"),Me(n.$$.fragment),V(t,"type","submit"),V(t,"class",e[3])},m(e,i){L(e,t,i),qe(n,t,null),r=!0},p(e,i){const o={};1&i&&(o.text=e[0]),n.$set(o),(!r||8&i)&&V(t,"class",e[3])},i(e){r||(Se(n.$$.fragment,e),r=!0)},o(e){_e(n.$$.fragment,e),r=!1},d(e){e&&N(t),je(n)}}}function Kn(e){let t,n,r;return n=new Yn({props:{text:e[0],className:"truncate !whitespace-pre"}}),{c(){t=R("a"),Me(n.$$.fragment),V(t,"class",e[3]),V(t,"href",e[1]),V(t,"target","_blank"),V(t,"rel","noreferrer noopener")},m(e,i){L(e,t,i),qe(n,t,null),r=!0},p(e,i){const o={};1&i&&(o.text=e[0]),n.$set(o),(!r||8&i)&&V(t,"class",e[3]),(!r||2&i)&&V(t,"href",e[1])},i(e){r||(Se(n.$$.fragment,e),r=!0)},o(e){_e(n.$$.fragment,e),r=!1},d(e){e&&N(t),je(n)}}}function Xn(e){let t,n,r,i;const o=[Kn,Qn,Zn],s=[];function l(e,t){return e[1]?0:e[2]?1:2}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let[u]=i,a=t;t=l(e),t===a?s[t].p(e,u):(Te(),_e(s[a],1,1,(()=>{s[a]=null})),Be(),n=s[t],n?n.p(e,u):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function Gn(e,t,n){let r,{title:i}=t,{hiddenCTA:o}=t,{url:s}=t,{external:l}=t,{preview:u}=t,{isSubmit:a=!0}=t;return e.$$set=e=>{"title"in e&&n(0,i=e.title),"hiddenCTA"in e&&n(4,o=e.hiddenCTA),"url"in e&&n(1,s=e.url),"external"in e&&n(5,l=e.external),"preview"in e&&n(6,u=e.preview),"isSubmit"in e&&n(2,a=e.isSubmit)},e.$$.update=()=>{112&e.$$.dirty&&n(3,r=Ln()("min-w-[100px] px-3.75 rounded-md flex items-center justify-center","bg-cta-bg text-cta-text font-semibold text-sm","betterhover:hover:bg-cta-bg-hover","active:!bg-cta-bg-active active:scale-99","focus:outline-none focus-visible:outline-2 focus-visible:outline-focus focus-visible:outline-offset-1 focus-visible:outline-dashed",{"sr-only focus-visible:not-sr-only focus-visible:!px-3.75":o,"h-8 focus-visible:!h-8":!l||u,"h-8 focus-visible:!h-8 tablet:h-[35px] tablet:focus-visible:!h-[35px] desktop:h-10 desktop:focus-visible:!h-10 desktop:text-md":l&&!u}))},[i,s,a,r,o,l,u,function(t){ae.call(this,e,t)}]}const Jn=class extends Ue{constructor(e){super(),He(this,e,Gn,Xn,a,{title:0,hiddenCTA:4,url:1,external:5,preview:6,isSubmit:2})}};function er(e){let t,n,r,i,o,s;return n=new Yn({props:{text:e[0],className:"truncate !whitespace-pre"}}),{c(){t=R("button"),Me(n.$$.fragment),V(t,"type","button"),V(t,"class",r=Ln()("min-w-[100px] h-8 px-3.75 rounded-md flex items-center justify-center","bg-skip-btn-bg text-skip-btn-text font-normal text-sm border border-skip-btn-border","betterhover:hover:bg-skip-btn-bg-hover betterhover:hover:border-skip-btn-hover-border","active:!bg-skip-btn-bg-active active:scale-99","focus:outline-none focus-visible:outline-2 focus-visible:outline-focus focus-visible:outline-offset-1 focus-visible:outline-dashed",{"tablet:h-[35px] desktop:h-10 desktop:text-md":e[1]&&!e[2]}))},m(r,l){L(r,t,l),qe(n,t,null),i=!0,o||(s=H(t,"click",e[3]),o=!0)},p(e,o){let[s]=o;const l={};1&s&&(l.text=e[0]),n.$set(l),(!i||6&s&&r!==(r=Ln()("min-w-[100px] h-8 px-3.75 rounded-md flex items-center justify-center","bg-skip-btn-bg text-skip-btn-text font-normal text-sm border border-skip-btn-border","betterhover:hover:bg-skip-btn-bg-hover betterhover:hover:border-skip-btn-hover-border","active:!bg-skip-btn-bg-active active:scale-99","focus:outline-none focus-visible:outline-2 focus-visible:outline-focus focus-visible:outline-offset-1 focus-visible:outline-dashed",{"tablet:h-[35px] desktop:h-10 desktop:text-md":e[1]&&!e[2]})))&&V(t,"class",r)},i(e){i||(Se(n.$$.fragment,e),i=!0)},o(e){_e(n.$$.fragment,e),i=!1},d(e){e&&N(t),je(n),o=!1,s()}}}function tr(e,t,n){let{title:r}=t,{external:i}=t,{preview:o}=t;return e.$$set=e=>{"title"in e&&n(0,r=e.title),"external"in e&&n(1,i=e.external),"preview"in e&&n(2,o=e.preview)},[r,i,o,function(t){ae.call(this,e,t)}]}const nr=class extends Ue{constructor(e){super(),He(this,e,tr,er,a,{title:0,external:1,preview:2})}};function rr(e){let t,n,r,i,o;const s=e[5].default,l=f(s,e,e[4],null);return{c(){t=R("div"),n=R("div"),l&&l.c(),V(n,"class",r=Ln()("flex items-center space-x-2.5",{"justify-center":e[3],"justify-between":!e[3]})),V(t,"class",i=Ln()({"mt-5":!e[0]&&(!e[1]||e[2]),"focus-within:mt-5":e[0]&&(!e[1]||e[2]),"mt-5 tablet:mt-[30px] desktop:mt-[40px]":!e[0]&&e[1]&&!e[2],"focus-within:mt-5 focus-within:tablet:mt-[30px] focus-within:desktop:mt-[40px]":e[0]&&e[1]&&!e[2]}))},m(e,r){L(e,t,r),_(t,n),l&&l.m(n,null),o=!0},p(e,u){let[a]=u;l&&l.p&&(!o||16&a)&&g(l,s,e,e[4],o?m(s,e[4],a,null):b(e[4]),null),(!o||8&a&&r!==(r=Ln()("flex items-center space-x-2.5",{"justify-center":e[3],"justify-between":!e[3]})))&&V(n,"class",r),(!o||7&a&&i!==(i=Ln()({"mt-5":!e[0]&&(!e[1]||e[2]),"focus-within:mt-5":e[0]&&(!e[1]||e[2]),"mt-5 tablet:mt-[30px] desktop:mt-[40px]":!e[0]&&e[1]&&!e[2],"focus-within:mt-5 focus-within:tablet:mt-[30px] focus-within:desktop:mt-[40px]":e[0]&&e[1]&&!e[2]})))&&V(t,"class",i)},i(e){o||(Se(l,e),o=!0)},o(e){_e(l,e),o=!1},d(e){e&&N(t),l&&l.d(e)}}}function ir(e,t,n){let{$$slots:r={},$$scope:i}=t,{hiddenCTA:o}=t,{external:s}=t,{preview:l}=t,{externalThankyou:u}=t;return e.$$set=e=>{"hiddenCTA"in e&&n(0,o=e.hiddenCTA),"external"in e&&n(1,s=e.external),"preview"in e&&n(2,l=e.preview),"externalThankyou"in e&&n(3,u=e.externalThankyou),"$$scope"in e&&n(4,i=e.$$scope)},[o,s,l,u,i,r]}const or=class extends Ue{constructor(e){super(),He(this,e,ir,rr,a,{hiddenCTA:0,external:1,preview:2,externalThankyou:3})}};function sr(t){let n,r,i,o,s,l;return{c(){n=R("button"),r=R("div"),V(r,"class",i=Ln()("w-[30px] h-[30px] rounded-full bg-close-btn-bg shadow-popup-shadow relative flex items-center justify-center","betterhover:group-hover:bg-close-btn-bg-hover betterhover:group-hover:ring-2 betterhover:group-hover:ring-close-btn-ring","group-focus-visible:outline-2 group-focus-visible:outline-close-btn-ring group-focus-visible:outline-dashed group-focus-visible:outline-offset-1","group-active:bg-close-btn-bg-active group-active:scale-99","before:inline-block before:w-0.5 before:bg-close-btn-icon before:rounded before:relative before:top-0 before:left-px before:-rotate-45 before:transition-all before:duration-300","after:inline-block after:w-0.5 after:bg-close-btn-icon after:rounded after:relative after:top-0 after:-left-px after:rotate-45 after:transition-all after:duration-300",{"after:translate-x-[3px] after:h-2.5":t[0]===t[3],"before:translate-x-[-3px] before:h-2.5":t[0]===t[3],"after:translate-x-[-3px] after:h-2.5":t[0]===t[4],"before:translate-x-[3px] before:h-2.5":t[0]===t[4],"after:h-3.5 before:h-3.5":t[0]===t[5],"before:delay-700 after:delay-700":!t[1]})),V(n,"class","group w-11 h-11 flex items-center justify-center focus:outline-none"),V(n,"aria-label",o=`${t[0]} ${t[2]}`)},m(e,i){L(e,n,i),_(n,r),s||(l=H(n,"click",t[6]),s=!0)},p(e,t){let[s]=t;3&s&&i!==(i=Ln()("w-[30px] h-[30px] rounded-full bg-close-btn-bg shadow-popup-shadow relative flex items-center justify-center","betterhover:group-hover:bg-close-btn-bg-hover betterhover:group-hover:ring-2 betterhover:group-hover:ring-close-btn-ring","group-focus-visible:outline-2 group-focus-visible:outline-close-btn-ring group-focus-visible:outline-dashed group-focus-visible:outline-offset-1","group-active:bg-close-btn-bg-active group-active:scale-99","before:inline-block before:w-0.5 before:bg-close-btn-icon before:rounded before:relative before:top-0 before:left-px before:-rotate-45 before:transition-all before:duration-300","after:inline-block after:w-0.5 after:bg-close-btn-icon after:rounded after:relative after:top-0 after:-left-px after:rotate-45 after:transition-all after:duration-300",{"after:translate-x-[3px] after:h-2.5":e[0]===e[3],"before:translate-x-[-3px] before:h-2.5":e[0]===e[3],"after:translate-x-[-3px] after:h-2.5":e[0]===e[4],"before:translate-x-[3px] before:h-2.5":e[0]===e[4],"after:h-3.5 before:h-3.5":e[0]===e[5],"before:delay-700 after:delay-700":!e[1]}))&&V(r,"class",i),5&s&&o!==(o=`${e[0]} ${e[2]}`)&&V(n,"aria-label",o)},i:e,o:e,d(e){e&&N(n),s=!1,l()}}}function lr(e,t,n){let{state:r}=t,{preview:i}=t,{label:o}=t;const{MINIMIZE:s,EXPAND:l,CLOSE:u}=et;return e.$$set=e=>{"state"in e&&n(0,r=e.state),"preview"in e&&n(1,i=e.preview),"label"in e&&n(2,o=e.label)},[r,i,o,s,l,u,function(t){ae.call(this,e,t)}]}const ur=class extends Ue{constructor(e){super(),He(this,e,lr,sr,a,{state:0,preview:1,label:2})}};function ar(t){let n,r=t[2]&&function(e){let t,n,r,i,o,s,l=e[2].svg+"";return{c(){t=z("svg"),V(t,"class",n=e[1]+" fill-current"),V(t,"focusable",r=!1),V(t,"preserveAspectRatio","xMidYMid meet"),V(t,"xmlns","http://www.w3.org/2000/svg"),V(t,"role",i=e[0]?"img":"presentation"),V(t,"aria-hidden",o=!e[0]),V(t,"aria-label",e[0]),V(t,"viewBox",s=e[2].viewBox)},m(e,n){L(e,t,n),t.innerHTML=l},p(e,r){2&r&&n!==(n=e[1]+" fill-current")&&V(t,"class",n),1&r&&i!==(i=e[0]?"img":"presentation")&&V(t,"role",i),1&r&&o!==(o=!e[0])&&V(t,"aria-hidden",o),1&r&&V(t,"aria-label",e[0])},d(e){e&&N(t)}}}(t);return{c(){r&&r.c(),n=j()},m(e,t){r&&r.m(e,t),L(e,n,t)},p(e,t){let[n]=t;e[2]&&r.p(e,n)},i:e,o:e,d(e){r&&r.d(e),e&&N(n)}}}function cr(e,t,n){let r,{name:o}=t,{ariaLabel:s}=t,l={cross:{viewBox:"0 0 60 60",svg:''},"ce-logo":{viewBox:"-357.7 256.3 20 36",svg:''},"ce-big-logo":{viewBox:"0 0 90 47",svg:''},tick:{viewBox:"0 0 60 60",svg:''},expand:{viewBox:"0 0 60 60",svg:''},star:{viewBox:"0 0 16 16",svg:''},"star-filled":{viewBox:"0 0 16 16",svg:''},"smiley-grinning":{viewBox:"0 0 31.88 31.88",svg:''},"smiley-neutral":{viewBox:"0 0 31.88 31.88",svg:''},"smiley-sad":{viewBox:"0 0 31.88 31.88",svg:''},"smiley-smile":{viewBox:"0 0 31.88 31.88",svg:''},"smiley-weary":{viewBox:"0 0 31.88 31.88",svg:''}}[o];return e.$$set=e=>{n(5,t=i(i({},t),$(e))),"name"in e&&n(3,o=e.name),"ariaLabel"in e&&n(0,s=e.ariaLabel)},e.$$.update=()=>{n(1,r=t.class??"")},t=$(t),[s,r,l,o]}const dr=class extends Ue{constructor(e){super(),He(this,e,cr,ar,a,{name:3,ariaLabel:0})}};function pr(e){let t,n,r,i,o,s,l,u;return r=new dr({props:{name:"ce-logo",class:Ln()("text-branding w-4 h-4",{"tablet:w-[18px] tablet:h-[18px] desktop:w-5 desktop:h-5":e[1]&&!e[0]})}}),{c(){t=R("div"),n=R("a"),Me(r.$$.fragment),i=M("\n Powered by Crazy Egg"),V(n,"href",o=`https://www.crazyegg.com/surveys?utm_source=powered_by_link&utm_medium=survey&utm_id=${e[3]}`),V(n,"target","_blank"),V(n,"rel","noopener noreferrer"),V(n,"class",s=Ln()("space-x-1.25 flex items-center","focus:outline-none focus-visible:outline-2 focus-visible:outline-focus focus-visible:outline-offset-1 focus-visible:outline-dashed")),V(t,"class",l=Ln()("flex items-center text-branding text-2xs w-full justify-center",{"mt-[30px]":!e[1],"mt-[25px] desktop:mt-[20px] tablet:text-xs desktop:text-sm":e[1]}))},m(e,o){L(e,t,o),_(t,n),qe(r,n,null),_(n,i),u=!0},p(e,i){const s={};3&i&&(s.class=Ln()("text-branding w-4 h-4",{"tablet:w-[18px] tablet:h-[18px] desktop:w-5 desktop:h-5":e[1]&&!e[0]})),r.$set(s),(!u||8&i&&o!==(o=`https://www.crazyegg.com/surveys?utm_source=powered_by_link&utm_medium=survey&utm_id=${e[3]}`))&&V(n,"href",o),(!u||2&i&&l!==(l=Ln()("flex items-center text-branding text-2xs w-full justify-center",{"mt-[30px]":!e[1],"mt-[25px] desktop:mt-[20px] tablet:text-xs desktop:text-sm":e[1]})))&&V(t,"class",l)},i(e){u||(Se(r.$$.fragment,e),u=!0)},o(e){_e(r.$$.fragment,e),u=!1},d(e){e&&N(t),je(r)}}}function fr(e){let t,n,r,i,o,s,l,u;return n=new dr({props:{name:"ce-big-logo",class:"text-big-logo w-[111px] h-[58px] mt-[60px]"}}),{c(){t=R("div"),Me(n.$$.fragment),r=q(),i=R("a"),o=M("Create your own survey — Free!"),V(i,"href",s=`https://www.crazyegg.com/surveys?utm_source=powered_by_link&utm_medium=survey&utm_id=${e[3]}`),V(i,"target","_blank"),V(i,"rel","noopener noreferrer"),V(i,"class",l=Ln()("text-big-branding-link text-sm mt-3.75","focus:outline-none focus-visible:outline-2 focus-visible:outline-focus focus-visible:outline-offset-1 focus-visible:outline-dashed")),V(t,"class","w-full flex flex-col items-center whitespace-nowrap")},m(e,s){L(e,t,s),qe(n,t,null),_(t,r),_(t,i),_(i,o),u=!0},p(e,t){(!u||8&t&&s!==(s=`https://www.crazyegg.com/surveys?utm_source=powered_by_link&utm_medium=survey&utm_id=${e[3]}`))&&V(i,"href",s)},i(e){u||(Se(n.$$.fragment,e),u=!0)},o(e){_e(n.$$.fragment,e),u=!1},d(e){e&&N(t),je(n)}}}function hr(e){let t,n,r,i;const o=[fr,pr],s=[];function l(e,t){return e[2]?0:1}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let[u]=i,a=t;t=l(e),t===a?s[t].p(e,u):(Te(),_e(s[a],1,1,(()=>{s[a]=null})),Be(),n=s[t],n?n.p(e,u):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function mr(e,t,n){let r,{preview:i}=t,{external:o}=t,{big:s}=t;return e.$$set=e=>{"preview"in e&&n(0,i=e.preview),"external"in e&&n(1,o=e.external),"big"in e&&n(2,s=e.big)},e.$$.update=()=>{1&e.$$.dirty&&n(3,r=i?"preview":CE2?.site?.id??"")},[i,o,s,r]}const gr=class extends Ue{constructor(e){super(),He(this,e,mr,hr,a,{preview:0,external:1,big:2})}};function br(e,t,n){const r=e.slice();return r[18]=t[n],r}function $r(e,t,n){const r=e.slice();return r[18]=t[n],r}function xr(e,t,n){const r=e.slice();return r[10]=t[n],r}function vr(e,t,n){const r=e.slice();return r[13]=t[n],r[15]=n,r}function wr(e,t,n){const r=e.slice();return r[16]=t[n],r[15]=n,r}function yr(e,t,n){const r=e.slice();return r[7]=t[n],r}function Dr(e){let t,n,r,i;const o=[Ar,Cr,Er],s=[];function l(e,t){return"table"===e[0]?0:"list"===e[0]?1:2}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let u=t;t=l(e),t===u?s[t].p(e,i):(Te(),_e(s[u],1,1,(()=>{s[u]=null})),Be(),n=s[t],n?n.p(e,i):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function kr(e){let t,n,r=e[1],i=[];for(let t=0;t_e(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e{je(e,1)})),Be()}s?(t=G(s,l(e)),Me(t.$$.fragment),Se(t.$$.fragment,1),qe(t,n.parentNode,n)):t=null}else s&&t.$set(i)},i(e){r||(t&&Se(t.$$.fragment,e),r=!0)},o(e){t&&_e(t.$$.fragment,e),r=!1},d(e){e&&N(n),t&&je(t,e)}}}function Cr(e){let t,n,r,i;const o=[_r,Sr],s=[];function l(e,t){return e[4]?0:1}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let u=t;t=l(e),t===u?s[t].p(e,i):(Te(),_e(s[u],1,1,(()=>{s[u]=null})),Be(),n=s[t],n?n.p(e,i):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function Ar(e){let t,n,r;var i=e[5].table;function o(e){return{props:{$$slots:{default:[Zr]},$$scope:{ctx:e}}}}return i&&(t=G(i,o(e))),{c(){t&&Me(t.$$.fragment),n=j()},m(e,i){t&&qe(t,e,i),L(e,n,i),r=!0},p(e,r){const s={};if(8388716&r&&(s.$$scope={dirty:r,ctx:e}),32&r&&i!==(i=e[5].table)){if(t){Te();const e=t;_e(e.$$.fragment,1,0,(()=>{je(e,1)})),Be()}i?(t=G(i,o(e)),Me(t.$$.fragment),Se(t.$$.fragment,1),qe(t,n.parentNode,n)):t=null}else i&&t.$set(s)},i(e){r||(t&&Se(t.$$.fragment,e),r=!0)},o(e){t&&_e(t.$$.fragment,e),r=!1},d(e){e&&N(n),t&&je(t,e)}}}function Fr(t){let n,r=t[6].raw+"";return{c(){n=M(r)},m(e,t){L(e,n,t)},p(e,t){64&t&&r!==(r=e[6].raw+"")&&Y(n,r)},i:e,o:e,d(e){e&&N(n)}}}function Tr(e){let t,n;return t=new Gr({props:{tokens:e[1],renderers:e[5]}}),{c(){Me(t.$$.fragment)},m(e,r){qe(t,e,r),n=!0},p(e,n){const r={};2&n&&(r.tokens=e[1]),32&n&&(r.renderers=e[5]),t.$set(r)},i(e){n||(Se(t.$$.fragment,e),n=!0)},o(e){_e(t.$$.fragment,e),n=!1},d(e){je(t,e)}}}function Br(e){let t,n,r,i;const o=[Tr,Fr],s=[];function l(e,t){return e[1]?0:1}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let u=t;t=l(e),t===u?s[t].p(e,i):(Te(),_e(s[u],1,1,(()=>{s[u]=null})),Be(),n=s[t],n?n.p(e,i):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function Sr(e){let t,n,r;const o=[{ordered:e[4]},e[6]];var s=e[5].list;function l(e){let t={$$slots:{default:[Lr]},$$scope:{ctx:e}};for(let e=0;e{je(e,1)})),Be()}s?(t=G(s,l(e)),Me(t.$$.fragment),Se(t.$$.fragment,1),qe(t,n.parentNode,n)):t=null}else s&&t.$set(i)},i(e){r||(t&&Se(t.$$.fragment,e),r=!0)},o(e){t&&_e(t.$$.fragment,e),r=!1},d(e){e&&N(n),t&&je(t,e)}}}function _r(e){let t,n,r;const o=[{ordered:e[4]},e[6]];var s=e[5].list;function l(e){let t={$$slots:{default:[Rr]},$$scope:{ctx:e}};for(let e=0;e{je(e,1)})),Be()}s?(t=G(s,l(e)),Me(t.$$.fragment),Se(t.$$.fragment,1),qe(t,n.parentNode,n)):t=null}else s&&t.$set(i)},i(e){r||(t&&Se(t.$$.fragment,e),r=!0)},o(e){t&&_e(t.$$.fragment,e),r=!1},d(e){e&&N(n),t&&je(t,e)}}}function Ir(e){let t,n,r;return t=new Gr({props:{tokens:e[18].tokens,renderers:e[5]}}),{c(){Me(t.$$.fragment),n=q()},m(e,i){qe(t,e,i),L(e,n,i),r=!0},p(e,n){const r={};64&n&&(r.tokens=e[18].tokens),32&n&&(r.renderers=e[5]),t.$set(r)},i(e){r||(Se(t.$$.fragment,e),r=!0)},o(e){_e(t.$$.fragment,e),r=!1},d(e){je(t,e),e&&N(n)}}}function Or(e){let t,n,r;const o=[e[18]];var s=e[5].unorderedlistitem||e[5].listitem;function l(e){let t={$$slots:{default:[Ir]},$$scope:{ctx:e}};for(let e=0;e{je(e,1)})),Be()}s?(t=G(s,l(e)),Me(t.$$.fragment),Se(t.$$.fragment,1),qe(t,n.parentNode,n)):t=null}else s&&t.$set(i)},i(e){r||(t&&Se(t.$$.fragment,e),r=!0)},o(e){t&&_e(t.$$.fragment,e),r=!1},d(e){e&&N(n),t&&je(t,e)}}}function Lr(e){let t,n,r=e[6].items,i=[];for(let t=0;t_e(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e{je(e,1)})),Be()}s?(t=G(s,l(e)),Me(t.$$.fragment),Se(t.$$.fragment,1),qe(t,n.parentNode,n)):t=null}else s&&t.$set(i)},i(e){r||(t&&Se(t.$$.fragment,e),r=!0)},o(e){t&&_e(t.$$.fragment,e),r=!1},d(e){e&&N(n),t&&je(t,e)}}}function Rr(e){let t,n,r=e[6].items,i=[];for(let t=0;t_e(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e{je(e,1)})),Be()}i?(t=G(i,o(e)),Me(t.$$.fragment),Se(t.$$.fragment,1),qe(t,n.parentNode,n)):t=null}else i&&t.$set(s)},i(e){r||(t&&Se(t.$$.fragment,e),r=!0)},o(e){t&&_e(t.$$.fragment,e),r=!1},d(e){e&&N(n),t&&je(t,e)}}}function qr(e){let t,n,r=e[2],i=[];for(let t=0;t_e(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e{je(e,1)})),Be()}i?(t=G(i,o(e)),Me(t.$$.fragment),Se(t.$$.fragment,1),qe(t,n.parentNode,n)):t=null}else i&&t.$set(s)},i(e){r||(t&&Se(t.$$.fragment,e),r=!0)},o(e){t&&_e(t.$$.fragment,e),r=!1},d(e){e&&N(n),t&&je(t,e)}}}function Hr(e){let t,n;return t=new Gr({props:{tokens:e[13].tokens,renderers:e[5]}}),{c(){Me(t.$$.fragment)},m(e,r){qe(t,e,r),n=!0},p(e,n){const r={};8&n&&(r.tokens=e[13].tokens),32&n&&(r.renderers=e[5]),t.$set(r)},i(e){n||(Se(t.$$.fragment,e),n=!0)},o(e){_e(t.$$.fragment,e),n=!1},d(e){je(t,e)}}}function Ur(e){let t,n,r;var i=e[5].tablecell;function o(e){return{props:{header:!1,align:e[6].align[e[15]]||"center",$$slots:{default:[Hr]},$$scope:{ctx:e}}}}return i&&(t=G(i,o(e))),{c(){t&&Me(t.$$.fragment),n=j()},m(e,i){t&&qe(t,e,i),L(e,n,i),r=!0},p(e,r){const s={};if(64&r&&(s.align=e[6].align[e[15]]||"center"),8388648&r&&(s.$$scope={dirty:r,ctx:e}),32&r&&i!==(i=e[5].tablecell)){if(t){Te();const e=t;_e(e.$$.fragment,1,0,(()=>{je(e,1)})),Be()}i?(t=G(i,o(e)),Me(t.$$.fragment),Se(t.$$.fragment,1),qe(t,n.parentNode,n)):t=null}else i&&t.$set(s)},i(e){r||(t&&Se(t.$$.fragment,e),r=!0)},o(e){t&&_e(t.$$.fragment,e),r=!1},d(e){e&&N(n),t&&je(t,e)}}}function Vr(e){let t,n,r=e[10],i=[];for(let t=0;t_e(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e{je(e,1)})),Be()}i?(t=G(i,o(e)),Me(t.$$.fragment),Se(t.$$.fragment,1),qe(t,n.parentNode,n)):t=null}else i&&t.$set(s)},i(e){r||(t&&Se(t.$$.fragment,e),r=!0)},o(e){t&&_e(t.$$.fragment,e),r=!1},d(e){e&&N(n),t&&je(t,e)}}}function Yr(e){let t,n,r=e[3],i=[];for(let t=0;t_e(i[e],1,1,(()=>{i[e]=null}));return{c(){for(let e=0;e{je(e,1)})),Be()}s?(t=G(s,l(e)),Me(t.$$.fragment),Se(t.$$.fragment,1),qe(t,n.parentNode,n)):t=null}else s&&t.$set(c);const d={};if(8388712&o&&(d.$$scope={dirty:o,ctx:e}),32&o&&u!==(u=e[5].tablebody)){if(r){Te();const e=r;_e(e.$$.fragment,1,0,(()=>{je(e,1)})),Be()}u?(r=G(u,a(e)),Me(r.$$.fragment),Se(r.$$.fragment,1),qe(r,i.parentNode,i)):r=null}else u&&r.$set(d)},i(e){o||(t&&Se(t.$$.fragment,e),r&&Se(r.$$.fragment,e),o=!0)},o(e){t&&_e(t.$$.fragment,e),r&&_e(r.$$.fragment,e),o=!1},d(e){t&&je(t,e),e&&N(n),e&&N(i),r&&je(r,e)}}}function Qr(e){let t,n;const r=[e[7],{renderers:e[5]}];let o={};for(let e=0;e{s[a]=null})),Be()),~t?(n=s[t],n?n.p(e,u):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r)):n=null)},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){~t&&s[t].d(e),e&&N(r)}}}function Xr(e,t,n){const r=["type","tokens","header","rows","ordered","renderers"];let o=x(t,r),{type:s}=t,{tokens:l}=t,{header:u}=t,{rows:a}=t,{ordered:c=!1}=t,{renderers:d}=t;return function(){const e=console.warn;console.warn=t=>{t.includes("unknown prop")||t.includes("unexpected slot")||e(t)},se((()=>{console.warn=e}))}(),e.$$set=e=>{t=i(i({},t),$(e)),n(6,o=x(t,r)),"type"in e&&n(0,s=e.type),"tokens"in e&&n(1,l=e.tokens),"header"in e&&n(2,u=e.header),"rows"in e&&n(3,a=e.rows),"ordered"in e&&n(4,c=e.ordered),"renderers"in e&&n(5,d=e.renderers)},[s,l,u,a,c,d,o]}class Gr extends Ue{constructor(e){super(),He(this,e,Xr,Kr,a,{type:0,tokens:1,header:2,rows:3,ordered:4,renderers:5})}}const Jr=Gr;var ei=n(970);const ti={};function ni(t){let n;return{c(){n=M(t[1])},m(e,t){L(e,n,t)},p(e,t){2&t&&Y(n,e[1])},i:e,o:e,d(e){e&&N(n)}}}function ri(e){let t,n;const r=e[5].default,i=f(r,e,e[4],null);return{c(){t=R("h6"),i&&i.c(),V(t,"id",e[2])},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){i&&i.p&&(!n||16&o)&&g(i,r,e,e[4],n?m(r,e[4],o,null):b(e[4]),null),(!n||4&o)&&V(t,"id",e[2])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function ii(e){let t,n;const r=e[5].default,i=f(r,e,e[4],null);return{c(){t=R("h5"),i&&i.c(),V(t,"id",e[2])},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){i&&i.p&&(!n||16&o)&&g(i,r,e,e[4],n?m(r,e[4],o,null):b(e[4]),null),(!n||4&o)&&V(t,"id",e[2])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function oi(e){let t,n;const r=e[5].default,i=f(r,e,e[4],null);return{c(){t=R("h4"),i&&i.c(),V(t,"id",e[2])},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){i&&i.p&&(!n||16&o)&&g(i,r,e,e[4],n?m(r,e[4],o,null):b(e[4]),null),(!n||4&o)&&V(t,"id",e[2])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function si(e){let t,n;const r=e[5].default,i=f(r,e,e[4],null);return{c(){t=R("h3"),i&&i.c(),V(t,"id",e[2])},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){i&&i.p&&(!n||16&o)&&g(i,r,e,e[4],n?m(r,e[4],o,null):b(e[4]),null),(!n||4&o)&&V(t,"id",e[2])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function li(e){let t,n;const r=e[5].default,i=f(r,e,e[4],null);return{c(){t=R("h2"),i&&i.c(),V(t,"id",e[2])},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){i&&i.p&&(!n||16&o)&&g(i,r,e,e[4],n?m(r,e[4],o,null):b(e[4]),null),(!n||4&o)&&V(t,"id",e[2])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function ui(e){let t,n;const r=e[5].default,i=f(r,e,e[4],null);return{c(){t=R("h1"),i&&i.c(),V(t,"id",e[2])},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){i&&i.p&&(!n||16&o)&&g(i,r,e,e[4],n?m(r,e[4],o,null):b(e[4]),null),(!n||4&o)&&V(t,"id",e[2])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function ai(e){let t,n,r,i;const o=[ui,li,si,oi,ii,ri,ni],s=[];function l(e,t){return 1===e[0]?0:2===e[0]?1:3===e[0]?2:4===e[0]?3:5===e[0]?4:6===e[0]?5:6}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let[u]=i,a=t;t=l(e),t===a?s[t].p(e,u):(Te(),_e(s[a],1,1,(()=>{s[a]=null})),Be(),n=s[t],n?n.p(e,u):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function ci(e,t,n){let r,{$$slots:i={},$$scope:o}=t,{depth:s}=t,{raw:l}=t,{text:u}=t;const{slug:a,getOptions:c}=function(e){return oe().$$.context.get(e)}(ti),d=c();return e.$$set=e=>{"depth"in e&&n(0,s=e.depth),"raw"in e&&n(1,l=e.raw),"text"in e&&n(3,u=e.text),"$$scope"in e&&n(4,o=e.$$scope)},e.$$.update=()=>{8&e.$$.dirty&&n(2,r=d.headerIds?d.headerPrefix+a(u):void 0)},[s,l,r,u,o,i]}function di(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("p"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function pi(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}function fi(e){let t;const n=e[3].default,r=f(n,e,e[2],null);return{c(){r&&r.c()},m(e,n){r&&r.m(e,n),t=!0},p(e,i){let[o]=i;r&&r.p&&(!t||4&o)&&g(r,n,e,e[2],t?m(n,e[2],o,null):b(e[2]),null)},i(e){t||(Se(r,e),t=!0)},o(e){_e(r,e),t=!1},d(e){r&&r.d(e)}}}function hi(e,t,n){let{$$slots:r={},$$scope:i}=t,{text:o}=t,{raw:s}=t;return e.$$set=e=>{"text"in e&&n(0,o=e.text),"raw"in e&&n(1,s=e.raw),"$$scope"in e&&n(2,i=e.$$scope)},[o,s,i,r]}function mi(t){let n,r;return{c(){n=R("img"),d(n.src,r=t[0])||V(n,"src",r),V(n,"title",t[1]),V(n,"alt",t[2])},m(e,t){L(e,n,t)},p(e,t){let[i]=t;1&i&&!d(n.src,r=e[0])&&V(n,"src",r),2&i&&V(n,"title",e[1]),4&i&&V(n,"alt",e[2])},i:e,o:e,d(e){e&&N(n)}}}function gi(e,t,n){let{href:r=""}=t,{title:i}=t,{text:o=""}=t;return e.$$set=e=>{"href"in e&&n(0,r=e.href),"title"in e&&n(1,i=e.title),"text"in e&&n(2,o=e.text)},[r,i,o]}function bi(e){let t,n;const r=e[3].default,i=f(r,e,e[2],null);return{c(){t=R("a"),i&&i.c(),V(t,"href",e[0]),V(t,"title",e[1])},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){let[s]=o;i&&i.p&&(!n||4&s)&&g(i,r,e,e[2],n?m(r,e[2],s,null):b(e[2]),null),(!n||1&s)&&V(t,"href",e[0]),(!n||2&s)&&V(t,"title",e[1])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function $i(e,t,n){let{$$slots:r={},$$scope:i}=t,{href:o=""}=t,{title:s}=t;return e.$$set=e=>{"href"in e&&n(0,o=e.href),"title"in e&&n(1,s=e.title),"$$scope"in e&&n(2,i=e.$$scope)},[o,s,i,r]}function xi(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("em"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function vi(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}function wi(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("del"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function yi(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}function Di(t){let n,r,i=t[0].replace(/`/g,"")+"";return{c(){n=R("code"),r=M(i)},m(e,t){L(e,n,t),_(n,r)},p(e,t){let[n]=t;1&n&&i!==(i=e[0].replace(/`/g,"")+"")&&Y(r,i)},i:e,o:e,d(e){e&&N(n)}}}function ki(e,t,n){let{raw:r}=t;return e.$$set=e=>{"raw"in e&&n(0,r=e.raw)},[r]}function Ei(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("strong"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function Ci(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}function Ai(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("table"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function Fi(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}function Ti(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("thead"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function Bi(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}function Si(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("tbody"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function _i(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}function Ii(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("tr"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function Oi(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}function Li(e){let t,n;const r=e[3].default,i=f(r,e,e[2],null);return{c(){t=R("td"),i&&i.c(),V(t,"align",e[1])},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){i&&i.p&&(!n||4&o)&&g(i,r,e,e[2],n?m(r,e[2],o,null):b(e[2]),null),(!n||2&o)&&V(t,"align",e[1])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function Ni(e){let t,n;const r=e[3].default,i=f(r,e,e[2],null);return{c(){t=R("th"),i&&i.c(),V(t,"align",e[1])},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){i&&i.p&&(!n||4&o)&&g(i,r,e,e[2],n?m(r,e[2],o,null):b(e[2]),null),(!n||2&o)&&V(t,"align",e[1])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function Pi(e){let t,n,r,i;const o=[Ni,Li],s=[];function l(e,t){return e[0]?0:1}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let[u]=i,a=t;t=l(e),t===a?s[t].p(e,u):(Te(),_e(s[a],1,1,(()=>{s[a]=null})),Be(),n=s[t],n?n.p(e,u):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function Ri(e,t,n){let{$$slots:r={},$$scope:i}=t,{header:o}=t,{align:s}=t;return e.$$set=e=>{"header"in e&&n(0,o=e.header),"align"in e&&n(1,s=e.align),"$$scope"in e&&n(2,i=e.$$scope)},[o,s,i,r]}function zi(e){let t,n;const r=e[3].default,i=f(r,e,e[2],null);return{c(){t=R("ul"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){i&&i.p&&(!n||4&t)&&g(i,r,e,e[2],n?m(r,e[2],t,null):b(e[2]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function Mi(e){let t,n;const r=e[3].default,i=f(r,e,e[2],null);return{c(){t=R("ol"),i&&i.c(),V(t,"start",e[1])},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){i&&i.p&&(!n||4&o)&&g(i,r,e,e[2],n?m(r,e[2],o,null):b(e[2]),null),(!n||2&o)&&V(t,"start",e[1])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function qi(e){let t,n,r,i;const o=[Mi,zi],s=[];function l(e,t){return e[0]?0:1}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let[u]=i,a=t;t=l(e),t===a?s[t].p(e,u):(Te(),_e(s[a],1,1,(()=>{s[a]=null})),Be(),n=s[t],n?n.p(e,u):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function ji(e,t,n){let{$$slots:r={},$$scope:i}=t,{ordered:o}=t,{start:s}=t;return e.$$set=e=>{"ordered"in e&&n(0,o=e.ordered),"start"in e&&n(1,s=e.start),"$$scope"in e&&n(2,i=e.$$scope)},[o,s,i,r]}function Hi(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("li"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function Ui(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}function Vi(t){let n;return{c(){n=R("hr")},m(e,t){L(e,n,t)},p:e,i:e,o:e,d(e){e&&N(n)}}}function Wi(t){let n,r;return{c(){n=new X(!1),r=j(),n.a=r},m(e,i){n.m(t[0],e,i),L(e,r,i)},p(e,t){let[r]=t;1&r&&n.p(e[0])},i:e,o:e,d(e){e&&N(r),e&&n.d()}}}function Yi(e,t,n){let{text:r}=t;return e.$$set=e=>{"text"in e&&n(0,r=e.text)},[r]}function Zi(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("blockquote"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function Qi(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}function Ki(t){let n,r,i;return{c(){n=R("pre"),r=R("code"),i=M(t[1]),V(n,"class",t[0])},m(e,t){L(e,n,t),_(n,r),_(r,i)},p(e,t){let[r]=t;2&r&&Y(i,e[1]),1&r&&V(n,"class",e[0])},i:e,o:e,d(e){e&&N(n)}}}function Xi(e,t,n){let{lang:r}=t,{text:i}=t;return e.$$set=e=>{"lang"in e&&n(0,r=e.lang),"text"in e&&n(1,i=e.text)},[r,i]}function Gi(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("br"),i&&i.c()},m(e,r){L(e,t,r),i&&i.m(e,r),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function Ji(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}const eo={heading:class extends Ue{constructor(e){super(),He(this,e,ci,ai,a,{depth:0,raw:1,text:3})}},paragraph:class extends Ue{constructor(e){super(),He(this,e,pi,di,a,{})}},text:class extends Ue{constructor(e){super(),He(this,e,hi,fi,a,{text:0,raw:1})}},image:class extends Ue{constructor(e){super(),He(this,e,gi,mi,a,{href:0,title:1,text:2})}},link:class extends Ue{constructor(e){super(),He(this,e,$i,bi,a,{href:0,title:1})}},em:class extends Ue{constructor(e){super(),He(this,e,vi,xi,a,{})}},strong:class extends Ue{constructor(e){super(),He(this,e,Ci,Ei,a,{})}},codespan:class extends Ue{constructor(e){super(),He(this,e,ki,Di,a,{raw:0})}},del:class extends Ue{constructor(e){super(),He(this,e,yi,wi,a,{})}},table:class extends Ue{constructor(e){super(),He(this,e,Fi,Ai,a,{})}},tablehead:class extends Ue{constructor(e){super(),He(this,e,Bi,Ti,a,{})}},tablebody:class extends Ue{constructor(e){super(),He(this,e,_i,Si,a,{})}},tablerow:class extends Ue{constructor(e){super(),He(this,e,Oi,Ii,a,{})}},tablecell:class extends Ue{constructor(e){super(),He(this,e,Ri,Pi,a,{header:0,align:1})}},list:class extends Ue{constructor(e){super(),He(this,e,ji,qi,a,{ordered:0,start:1})}},orderedlistitem:null,unorderedlistitem:null,listitem:class extends Ue{constructor(e){super(),He(this,e,Ui,Hi,a,{})}},hr:class extends Ue{constructor(e){super(),He(this,e,null,Vi,a,{})}},html:class extends Ue{constructor(e){super(),He(this,e,Yi,Wi,a,{text:0})}},blockquote:class extends Ue{constructor(e){super(),He(this,e,Qi,Zi,a,{})}},code:class extends Ue{constructor(e){super(),He(this,e,Xi,Ki,a,{lang:0,text:1})}},br:class extends Ue{constructor(e){super(),He(this,e,Ji,Gi,a,{})}}},to={baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1};function no(e){let t,n;return t=new Jr({props:{tokens:e[0],renderers:e[1]}}),{c(){Me(t.$$.fragment)},m(e,r){qe(t,e,r),n=!0},p(e,n){let[r]=n;const i={};1&r&&(i.tokens=e[0]),2&r&&(i.renderers=e[1]),t.$set(i)},i(e){n||(Se(t.$$.fragment,e),n=!0)},o(e){_e(t.$$.fragment,e),n=!1},d(e){je(t,e)}}}function ro(e,t,n){let r,i,o,s,{source:l=[]}=t,{renderers:u={}}=t,{options:a={}}=t,{isInline:c=!1}=t;const d=ue();let p,f,h;return function(e,t){oe().$$.context.set(e,t)}(ti,{slug:e=>i?i.slug(e):"",getOptions:()=>o}),se((()=>{n(7,h=!0)})),e.$$set=e=>{"source"in e&&n(2,l=e.source),"renderers"in e&&n(3,u=e.renderers),"options"in e&&n(4,a=e.options),"isInline"in e&&n(5,c=e.isInline)},e.$$.update=()=>{4&e.$$.dirty&&n(8,r=Array.isArray(l)),4&e.$$.dirty&&(i=l?new ei.mT:void 0),16&e.$$.dirty&&n(9,o=CE2BH.extends({},to,a)),869&e.$$.dirty&&(r?n(0,p=l):(n(6,f=new ei.hW(o)),n(0,p=c?f.inlineTokens(l):f.lex(l)),d("parsed",{tokens:p}))),8&e.$$.dirty&&n(1,s=CE2BH.extends({},eo,u)),385&e.$$.dirty&&h&&!r&&d("parsed",{tokens:p})},[p,s,l,u,a,c,f,h,r,o]}const io=class extends Ue{constructor(e){super(),He(this,e,ro,no,a,{source:2,renderers:3,options:4,isInline:5})}};function oo(e){let t;const n=e[4].default,r=f(n,e,e[3],null);return{c(){r&&r.c()},m(e,n){r&&r.m(e,n),t=!0},p(e,i){r&&r.p&&(!t||8&i)&&g(r,n,e,e[3],t?m(n,e[3],i,null):b(e[3]),null)},i(e){t||(Se(r,e),t=!0)},o(e){_e(r,e),t=!1},d(e){r&&r.d(e)}}}function so(e){let t,n;const r=e[4].default,i=f(r,e,e[3],null);return{c(){t=R("a"),i&&i.c(),V(t,"href",e[1]),V(t,"title",e[0]),V(t,"class","text-link underline betterhover:hover:no-underline"),V(t,"target","_blank"),V(t,"rel","noopener noreferrer")},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){i&&i.p&&(!n||8&o)&&g(i,r,e,e[3],n?m(r,e[3],o,null):b(e[3]),null),(!n||2&o)&&V(t,"href",e[1]),(!n||1&o)&&V(t,"title",e[0])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function lo(e){let t,n,r,i;const o=[so,oo],s=[];function l(e,t){return e[1]?0:1}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let[u]=i,a=t;t=l(e),t===a?s[t].p(e,u):(Te(),_e(s[a],1,1,(()=>{s[a]=null})),Be(),n=s[t],n?n.p(e,u):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function uo(e,t,n){let r,{$$slots:i={},$$scope:o}=t,{href:s=""}=t,{title:l}=t;return e.$$set=e=>{"href"in e&&n(2,s=e.href),"title"in e&&n(0,l=e.title),"$$scope"in e&&n(3,o=e.$$scope)},e.$$.update=()=>{4&e.$$.dirty&&n(1,r=CE2.insane(``).match(//)?.[1])},[l,r,s,o,i]}const ao=class extends Ue{constructor(e){super(),He(this,e,uo,lo,a,{href:2,title:0})}};function co(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("em"),i&&i.c(),V(t,"class","italic")},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function po(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}const fo=class extends Ue{constructor(e){super(),He(this,e,po,co,a,{})}};function ho(e){let t,n;const r=e[1].default,i=f(r,e,e[0],null);return{c(){t=R("strong"),i&&i.c(),V(t,"class","font-semibold")},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){let[o]=t;i&&i.p&&(!n||1&o)&&g(i,r,e,e[0],n?m(r,e[0],o,null):b(e[0]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function mo(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}const go=class extends Ue{constructor(e){super(),He(this,e,mo,ho,a,{})}};function bo(e){let t,n;const r=e[3].default,i=f(r,e,e[2],null);return{c(){t=R("ul"),i&&i.c(),V(t,"class","list-disc list-inside")},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,t){i&&i.p&&(!n||4&t)&&g(i,r,e,e[2],n?m(r,e[2],t,null):b(e[2]),null)},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function $o(e){let t,n;const r=e[3].default,i=f(r,e,e[2],null);return{c(){t=R("ol"),i&&i.c(),V(t,"start",e[1]),V(t,"class","list-decimal list-inside")},m(e,r){L(e,t,r),i&&i.m(t,null),n=!0},p(e,o){i&&i.p&&(!n||4&o)&&g(i,r,e,e[2],n?m(r,e[2],o,null):b(e[2]),null),(!n||2&o)&&V(t,"start",e[1])},i(e){n||(Se(i,e),n=!0)},o(e){_e(i,e),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function xo(e){let t,n,r,i;const o=[$o,bo],s=[];function l(e,t){return e[0]?0:1}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let[u]=i,a=t;t=l(e),t===a?s[t].p(e,u):(Te(),_e(s[a],1,1,(()=>{s[a]=null})),Be(),n=s[t],n?n.p(e,u):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function vo(e,t,n){let{$$slots:r={},$$scope:i}=t,{ordered:o}=t,{start:s}=t;return e.$$set=e=>{"ordered"in e&&n(0,o=e.ordered),"start"in e&&n(1,s=e.start),"$$scope"in e&&n(2,i=e.$$scope)},[o,s,i,r]}const wo=class extends Ue{constructor(e){super(),He(this,e,vo,xo,a,{ordered:0,start:1})}};function yo(e){let t;const n=e[1].default,r=f(n,e,e[0],null);return{c(){r&&r.c()},m(e,n){r&&r.m(e,n),t=!0},p(e,i){let[o]=i;r&&r.p&&(!t||1&o)&&g(r,n,e,e[0],t?m(n,e[0],o,null):b(e[0]),null)},i(e){t||(Se(r,e),t=!0)},o(e){_e(r,e),t=!1},d(e){r&&r.d(e)}}}function Do(e,t,n){let{$$slots:r={},$$scope:i}=t;return e.$$set=e=>{"$$scope"in e&&n(0,i=e.$$scope)},[i,r]}const ko=class extends Ue{constructor(e){super(),He(this,e,Do,yo,a,{})}};function Eo(t){let n,r,i,o,s,l,u,a;return{c(){n=R("pre"),r=M(" "),i=R("code"),o=M("\n "),s=M(t[1]),l=M("\n "),u=M("\n"),V(n,"class",a=`${t[0]} bg-code-bg text-code-text p-0.5 px-1.25 rounded text-md whitespace-pre-wrap`)},m(e,t){L(e,n,t),_(n,r),_(n,i),_(i,o),_(i,s),_(i,l),_(n,u)},p(e,t){let[r]=t;2&r&&Y(s,e[1]),1&r&&a!==(a=`${e[0]} bg-code-bg text-code-text p-0.5 px-1.25 rounded text-md whitespace-pre-wrap`)&&V(n,"class",a)},i:e,o:e,d(e){e&&N(n)}}}function Co(e,t,n){let{lang:r}=t,{text:i}=t;return e.$$set=e=>{"lang"in e&&n(0,r=e.lang),"text"in e&&n(1,i=e.text)},[r,i]}const Ao=class extends Ue{constructor(e){super(),He(this,e,Co,Eo,a,{lang:0,text:1})}};function Fo(t){let n,r,i=t[0].replace(/`/g,"")+"";return{c(){n=R("code"),r=M(i),V(n,"class","bg-code-bg text-code-text p-0.5 rounded mx-0.5 text-md")},m(e,t){L(e,n,t),_(n,r)},p(e,t){let[n]=t;1&n&&i!==(i=e[0].replace(/`/g,"")+"")&&Y(r,i)},i:e,o:e,d(e){e&&N(n)}}}function To(e,t,n){let{raw:r}=t;return e.$$set=e=>{"raw"in e&&n(0,r=e.raw)},[r]}const Bo=class extends Ue{constructor(e){super(),He(this,e,To,Fo,a,{raw:0})}};function So(e){let t,n;return t=new io({props:{source:e[0],renderers:{link:e[2]?ao:ko,code:e[1]?ko:Ao,codespan:e[1]?ko:Bo,em:fo,list:e[1]?ko:wo,strong:go,html:ko,image:ko,heading:ko,blockquote:ko,hr:ko},options:{mangle:!1},isInline:e[1]}}),{c(){Me(t.$$.fragment)},m(e,r){qe(t,e,r),n=!0},p(e,n){let[r]=n;const i={};1&r&&(i.source=e[0]),6&r&&(i.renderers={link:e[2]?ao:ko,code:e[1]?ko:Ao,codespan:e[1]?ko:Bo,em:fo,list:e[1]?ko:wo,strong:go,html:ko,image:ko,heading:ko,blockquote:ko,hr:ko}),2&r&&(i.isInline=e[1]),t.$set(i)},i(e){n||(Se(t.$$.fragment,e),n=!0)},o(e){_e(t.$$.fragment,e),n=!1},d(e){je(t,e)}}}function _o(e,t,n){let{source:r}=t,{inline:i=!1}=t,{link:o=!0}=t;return e.$$set=e=>{"source"in e&&n(0,r=e.source),"inline"in e&&n(1,i=e.inline),"link"in e&&n(2,o=e.link)},[r,i,o]}const Io=class extends Ue{constructor(e){super(),He(this,e,_o,So,a,{source:0,inline:1,link:2})}};function Oo(e){let t,n,r,i,o,s,l;return n=new Io({props:{source:e[0],inline:!0}}),{c(){t=R("p"),Me(n.$$.fragment),V(t,"class",r=Ln()("text-branding text-2xs text-center mt-[30px]",{"mb-1":e[1]})),V(t,"dir","auto")},m(e,r){L(e,t,r),qe(n,t,null),o=!0,s||(l=w(i=Hn.call(null,t)),s=!0)},p(e,i){const s={};1&i&&(s.source=e[0]),n.$set(s),(!o||2&i&&r!==(r=Ln()("text-branding text-2xs text-center mt-[30px]",{"mb-1":e[1]})))&&V(t,"class",r)},i(e){o||(Se(n.$$.fragment,e),o=!0)},o(e){_e(n.$$.fragment,e),o=!1},d(e){e&&N(t),je(n),s=!1,l()}}}function Lo(t){let n,r,i=t[0],o=Oo(t);return{c(){o.c(),n=j()},m(e,t){o.m(e,t),L(e,n,t),r=!0},p(t,r){let[s]=r;1&s&&a(i,i=t[0])?(Te(),_e(o,1,1,e),Be(),o=Oo(t),o.c(),Se(o,1),o.m(n.parentNode,n)):o.p(t,s)},i(e){r||(Se(o),r=!0)},o(e){_e(o),r=!1},d(e){e&&N(n),o.d(e)}}}function No(e,t,n){let{markdownText:r}=t,{external:i=!1}=t;return e.$$set=e=>{"markdownText"in e&&n(0,r=e.markdownText),"external"in e&&n(1,i=e.external)},[r,i]}const Po=class extends Ue{constructor(e){super(),He(this,e,No,Lo,a,{markdownText:0,external:1})}};function Ro(t){let n;return{c(){n=R("span"),n.textContent="crazy egg",V(n,"class","hidden invisible")},m(e,t){L(e,n,t)},p:e,i:e,o:e,d(e){e&&N(n)}}}function zo(e){let t,n;return t=new Po({props:{markdownText:e[4]}}),{c(){Me(t.$$.fragment)},m(e,r){qe(t,e,r),n=!0},p(e,n){const r={};16&n&&(r.markdownText=e[4]),t.$set(r)},i(e){n||(Se(t.$$.fragment,e),n=!0)},o(e){_e(t.$$.fragment,e),n=!1},d(e){je(t,e)}}}function Mo(e){let t,n;return t=new gr({props:{preview:e[0],external:e[1],big:e[2]}}),{c(){Me(t.$$.fragment)},m(e,r){qe(t,e,r),n=!0},p(e,n){const r={};1&n&&(r.preview=e[0]),2&n&&(r.external=e[1]),4&n&&(r.big=e[2]),t.$set(r)},i(e){n||(Se(t.$$.fragment,e),n=!0)},o(e){_e(t.$$.fragment,e),n=!1},d(e){je(t,e)}}}function qo(e){let t,n,r,i;const o=[Mo,zo,Ro],s=[];function l(e,t){return e[3]?e[4]?1:2:0}return t=l(e),n=s[t]=o[t](e),{c(){n.c(),r=j()},m(e,n){s[t].m(e,n),L(e,r,n),i=!0},p(e,i){let[u]=i,a=t;t=l(e),t===a?s[t].p(e,u):(Te(),_e(s[a],1,1,(()=>{s[a]=null})),Be(),n=s[t],n?n.p(e,u):(n=s[t]=o[t](e),n.c()),Se(n,1),n.m(r.parentNode,r))},i(e){i||(Se(n),i=!0)},o(e){_e(n),i=!1},d(e){s[t].d(e),e&&N(r)}}}function jo(e,t,n){let{preview:r}=t,{external:i=!1}=t,{big:o=!1}=t,{removeBranding:s}=t,{customBrandingText:l}=t;return e.$$set=e=>{"preview"in e&&n(0,r=e.preview),"external"in e&&n(1,i=e.external),"big"in e&&n(2,o=e.big),"removeBranding"in e&&n(3,s=e.removeBranding),"customBrandingText"in e&&n(4,l=e.customBrandingText)},[r,i,o,s,l]}const Ho=class extends Ue{constructor(e){super(),He(this,e,jo,qo,a,{preview:0,external:1,big:2,removeBranding:3,customBrandingText:4})}};function Uo(e,t,n,r,i){let o=document.createElement("style");return o.textContent=`\n @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap');\n\n .feedbackButton {\n all: unset; \n font-family: 'Open Sans', sans-serif;\n font-size: 14px;\n font-weight: 600;\n display: flex; \n align-items: center; \n height: 35px; \n border-radius: 6px; \n padding: 0 15px; \n background-color: ${e};\n color: ${r};\n cursor: pointer;\n white-space: pre;\n }\n\n .feedbackButton:active {\n scale: 99%;\n background-color: ${n}\n }\n\n .feedbackButton:hover {\n background-color: ${t}\n }\n\n .feedbackButton:focus { \n outline-width: 2px;\n outline-color: ${i};\n outline-offset: 1px;\n outline-style: dashed;\n }\n\n .feedbackButton:focus:not(:focus-visible) {\n outline-width: 0px; \n }\n\n .feedbackButton span.emoji {\n display: inline-block;\n vertical-align: baseline;\n width: 1em;\n height: 1em;\n background-size: 1em;\n background-repeat: no-repeat;\n \n /* http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/ */\n text-indent: 100%;\n white-space: nowrap;\n overflow: hidden;\n \n background-position: 50%, 50%;\n background-size: contain;\n }\n \n .feedbackButton span.emoji-sizer {\n line-height: 0.81em;\n font-size: 1em;\n margin: -2px 0;\n }\n\n `,o}function Vo(t){let n,r,i,o;return{c(){n=R("button"),V(n,"type","button"),V(n,"class","feedbackButton")},m(e,r){L(e,n,r),n.innerHTML=t[0],i||(o=H(n,"click",t[3]),i=!0)},p:e,i(e){r||$e((()=>{r=Oe(n,In,{delay:700}),r.start()}))},o:e,d(e){e&&N(n),i=!1,o()}}}function Wo(e,t,n){let{feedback:r}=t,{rootElement:i}=t;const{cta_bg:o,cta_bg_hover:s,cta_bg_active:l,cta_text:u,focus:a,text:c}=r;let d;return se((()=>{d=Uo(o,s,l,u,a),i.shadowRoot.append(d)})),le((()=>{i.shadowRoot.removeChild(d)})),e.$$set=e=>{"feedback"in e&&n(1,r=e.feedback),"rootElement"in e&&n(2,i=e.rootElement)},[c,r,i,function(t){ae.call(this,e,t)}]}const Yo=class extends Ue{constructor(e){super(),He(this,e,Wo,Vo,a,{feedback:1,rootElement:2})}};var Zo=n(2790);function Qo(e){let t,n,r,i;return n=new ur({props:{state:e[0]?e[17]:e[10],preview:e[1],label:e[9]}}),n.$on("click",e[20]),{c(){t=R("div"),Me(n.$$.fragment),V(t,"class",r=Ln()("",{hidden:e[6]&&e[10]===e[19],block:!e[6]||e[10]!==e[19]}))},m(e,r){L(e,t,r),qe(n,t,null),i=!0},p(e,o){const s={};1025&o&&(s.state=e[0]?e[17]:e[10]),2&o&&(s.preview=e[1]),512&o&&(s.label=e[9]),n.$set(s),(!i||1088&o&&r!==(r=Ln()("",{hidden:e[6]&&e[10]===e[19],block:!e[6]||e[10]!==e[19]})))&&V(t,"class",r)},i(e){i||(Se(n.$$.fragment,e),i=!0)},o(e){_e(n.$$.fragment,e),i=!1},d(e){e&&N(t),je(n)}}}function Ko(e){let t,n;return t=new Yo({props:{rootElement:e[7],feedback:e[6]}}),t.$on("click",e[20]),{c(){Me(t.$$.fragment)},m(e,r){qe(t,e,r),n=!0},p(e,n){const r={};128&n&&(r.rootElement=e[7]),64&n&&(r.feedback=e[6]),t.$set(r)},i(e){n||(Se(t.$$.fragment,e),n=!0)},o(e){_e(t.$$.fragment,e),n=!1},d(e){je(t,e)}}}function Xo(e){let t,n,r,i,o,s,u,a,c,d,p,h,$,x,v,w=(e[8]||e[0])&&Qo(e),y=e[6]&&e[10]===e[19]&&Ko(e);const D=e[24].default,k=f(D,e,e[23],null);return u=new Ho({props:{removeBranding:e[3],preview:e[1],customBrandingText:e[4]}}),{c(){t=R("div"),w&&w.c(),n=q(),y&&y.c(),r=q(),i=R("div"),o=R("div"),k&&k.c(),s=q(),Me(u.$$.fragment),V(o,"style",a="height: "+(e[10]===e[19]?`${e[15]}px`:e[12]?`${e[12]}px`:"auto")),V(o,"class",c=Ln()("shadow-popup-shadow px-6 bg-background transition-[height] duration-700",{"pt-6 pb-0 rounded-t-lg":e[10]===e[19]&&!e[6],"pt-5 max-h-80 rounded-lg scrollbar":e[10]!==e[19],"overflow-y-auto":e[10]!==e[19]&&!e[13],"pb-2.5":e[10]!==e[19]&&(!e[3]||e[4]),"pb-[30px]":e[10]!==e[19]&&e[3]&&!e[4],"overflow-hidden":e[13],"w-[310px]":!e[2],"w-auto":e[2]})),$e((()=>e[26].call(o))),V(i,"class","relative"),V(t,"class",p=Ln()("flex flex-col items-end space-y-2.5 absolute",{"top-0 left-0 -translate-x-1/2":e[1],"bottom-0 right-0":!e[1]&&(e[5]?.includes("right")||!e[5]),"bottom-0 left-0":!e[1]&&e[5]?.includes("left"),"pointer-events-none":e[16]}))},m(l,a){L(l,t,a),w&&w.m(t,null),_(t,n),y&&y.m(t,null),_(t,r),_(t,i),_(i,o),k&&k.m(o,null),_(o,s),qe(u,o,null),e[25](o),d=function(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=R("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const r=Q();let i;return r?(n.src="data:text/html,